How to pull image from Docker registry

If you are here, then I am assuming you would have knowledge of what docker is and why do we use it.

To fetch any image from any docker registry to your local workstation is called docker pull.

We will use command   docker pull <image_name> to pull image from the docker hub.

In the following example we will pull one image hello-world from docker hub.


D:\Docker> docker pull hello-world

It will give output something like this


Using default tag: latest

latest: Pulling from library/hello-world

2db29710123e: Pull complete

Digest: sha256:37a0b92b08d4919615c3ee023f7ddb068d12b8387475d64c622ac30f45c29c51

Status: Downloaded newer image for hello-world:latest

docker.io/library/hello-world:latest

1 Like