"docker image pull" - Pull Image

Q

How to pull an image from the remote registry to the local repository with "docker image pull" command?

✍: FYIcenter.com

A

If you know the name of a Docker image, you can pull it from the remote registry to your local repository using the "docker image pull", or "docker pull" command.

1. Run "docker image pull" command to pull the image.

$ docker image pull hello-world

Using default tag: latest
latest: Pulling from library/hello-world
1b930d010525: Pull complete
Digest: sha256:6f744a2005b12a704d2608d8070a494ad1145636eeb74a570c56b94d94ccdbfc
Status: Downloaded newer image for hello-world:latest

2. Verify the image in local repository.

$ docker image list | grep hello-world

hello-world  latest  fce289e99eb9  4 months ago        1.84kB

 

"docker container create" - Create Container

"docker image rm" - Remove Image

Docker Client (or CLI) on Ubuntu

⇑⇑ Docker Container Platform - Tutorials

2019-04-22, 179👍, 0💬