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?
Another way to check for a running Docker daemon is by inspecting its process ID file. The daemon writes its process ID to /var/run/docker. pid each time it starts up. When this file exists, Docker should be running and ready for CLI connections.
You can use the docker stats command to live stream a container's runtime metrics. The command supports CPU, memory usage, memory limit, and network IO metrics.
The easiest way to list Docker images is to use the “docker images” with no arguments. When using this command, you will be presented with the complete list of Docker images on your system. Alternatively, you can use the “docker image” command with the “ls” argument.
Step 2: Pull the Latest ImageBy default, Docker pulls the latest version. To ensure it does so, you can add the :latest tag.
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 pullsdocker pull --resume
to resume a given pulldocker pull --rm
to remove a given pull
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With