Docker error first run [team]

posted in: docker, Linux, Networking | 0

After installing Docker I ran the “Docker Quickstart Terminal” and got the following error trying to run hello-world

bash-3.2$ docker run hello-world
Unable to find image 'hello-world:latest' locally
Pulling repository docker.io/library/hello-world
Error: image library/hello-world:latest not found
$ docker-machine restart default      # Restart the environment
$ eval $(docker-machine env default)  # Refresh your environment settings

This solved the problem

Leave a Reply