Get status of an ongoing docker image pull

cutteeth picture cutteeth · Feb 27, 2015 · Viewed 17.5k times · Source

How to get status of a running docker pull process? I tried pulling busybox with sudo docker pull busybox . But no status is being displayed. On issuing another pull request after a ctrl+c it says that image is already being pulled by another client.Also I tried cancelling the ongoing pull and I couldnt here is a bug report regarding the issue.

$sudo docker pull busybox
Repository busybox already being pulled by another client. Waiting.

How can I display the progress of an ongoing docker pull?

Answer

Bryan picture Bryan · Feb 27, 2015

This wasn't available at the time the question was asked (2015)

Now, if you run the same docker pull in two windows you see the same status, i.e. which layers are being downloaded, how far it got, etc.

If you kill just one of those two docker pull commands, the other one carries on.

If you kill the last client that requested a pull, the pull operation terminates.

[original answer follows...]

This is a proposed feature of Docker. See ongoing discussion at https://github.com/docker/docker/issues/6928:

My proposal is as follows.

  • docker pull --list to list all the current running docker pulls
  • docker pull --resume to resume a given pull
  • docker pull --rm to remove a given pull