Error on Docker Pull - “Layer already being pulled

2019-06-24 02:10发布

问题:

I'm new to docker and have followed the installation instructions on their site here.

The installation completed successfully:

docker -v
Docker version 1.8.1, build d12ea79

but when I try to run

sudo docker run hello-world

I get the following:

Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world

535020c3e8ad: Pulling fs layer 
af340544ed62: Layer already being pulled by another client. Waiting. 
af340544ed62: Layer already being pulled by another client. Waiting.

This then continues to hang indefinitely.

I have tried restarting the service and my entire machine. I always get the same problem.

Any idea what's causing this or how to resolve?

回答1:

This command helped on my end on Ubuntu 14.04 (Docker version 1.8.1, build d12ea79):

sudo restart docker


回答2:

This seems to have now resolved itself. Quite possibly it was caused by a problem at docker's end.



标签: docker pull