Reputation: 1324
I am trying to run docker run docker/whalesay cowsay boo
from the tutorial.
Here is the output I get:
Unable to find image 'docker/whalesay:latest' locally
latest: Pulling from docker/whalesay
e190868d63f8: Already exists
909cd34c6fd7: Already exists
0b9bfabab7c1: Already exists
a3ed95caeb02: Pulling fs layer
00bf65475aba: Already exists
c57b6bcc83e3: Already exists
8978f6879e2f: Waiting
8eed3712d2cf: Download complete
It has been 10 minutes but nothing shows up. Is it supposed to take that long?
I tried control+C and re-run the command, and restarting Docker Quickstart Terminal. It's still not solving the problem.
Upvotes: 18
Views: 22972
Reputation: 879
In my case it was not enough space on VM in Swarm.
Drain machine -> Stop/Start -> docker image/system prune -> Activate Machine
helped to fix the problem
Upvotes: 0
Reputation: 1166
You don't have to reinstall. Just restarting docker service should do
service docker restart
Upvotes: 21
Reputation: 4190
I had the same problem because of antivirus program. After I've disabled it (to disable it quickly, I just renamed McAfee installation directory and rebooted) - Docker finally was able to pull all layers.
Upvotes: 1
Reputation: 103
I also was getting stuck on the "Pulling fs layer" when pulling images, and just want to add another reason it might be happening (this was what happened to me): I was connected to my corporate network and needed to set proxies; once I set the proxies, the image pull finished fine.
Upvotes: 1
Reputation: 3530
In my case, I had installed boot2docker long ago (March 2016), and this was overshadowing Docker for Mac. I had to manually uninstall boot2docker.
Upvotes: 0
Reputation: 8937
Similar situation. I got the feeling that concurrent download caused the problem. So I just force the docker downloading connection to 1.
docker-icon -> perferences -> daemon -> add the following code:
{
"max-concurrent-downloads": 1
}
slower but more stable.
Upvotes: 11