Image pull hands if version for the image is not given

I’m using Docker beta for Mac and when pulling an image, if I don’t provide a version or simply request the latest :latest the installation processes seems to hang.


Please provide more details: exact version of Docker, registry used, image pulled, step to reproduce, dockerfile or docker-compose file, etc.


@aleveille sorry for the late reply. Here are my details

Docker Version: Version 1.11.1-beta13.1 (build: 8193)
Registry Used: Don’t know what you mean here
Image Pulled: sameersbn/postgresql
Step to Reproduce:

  1. In the terminal: docker pull sameersbn/postgresql
  2. You will get the output saying that the latest version will be pulled.
  3. Then the progress of the pull is not shown.

To Fix:

  1. Close the current terminal session.
  2. Restart docker
  3. Open a new terminal and issue the command: docker pull sameersbn/postgresql:latest
  4. The progress will show as follows

Hi @tsega,

I was able to pull the image without using the latest tag. 17 seconds to download and extract everything.

time docker pull sameersbn/postgresql
Using default tag: latest
latest: Pulling from sameersbn/postgresql
6599cadaf950: Pull complete
23eda618d451: Pull complete
f0be3084efe9: Pull complete
52de432f084b: Pull complete
a3ed95caeb02: Pull complete
d6aaa9584584: Pull complete
c7dc9537e1e0: Pull complete
20bbc0578df3: Pull complete
dbc8ca9f1563: Pull complete
16272ec28018: Pull complete
Digest: sha256:e2922cc58abcfcc849e336fa021d92c3cc4a08ae09e93b62eba88e22e91b9888
Status: Downloaded newer image for sameersbn/postgresql:latest

real	0m17.331s
user	0m0.078s
sys	0m0.052s


OS X: version 10.11.5 (build: 15F34) version v1.11.1-beta13.1

If you remove the image (docker rmi imageid) and try again, do you reproduce 100% ?

1 Like