Search notes:

docker pull

docker pull pull an image or a repository from a registry.
docker pull [OPTIONS] NAME[:TAG|@DIGEST]

Options

-a --all-tags Download all tagged images in the repository
--disable-content-trust Skip image verification (default true)
--platform string Set platform if server is multi-platform capable
-q --quiet Suppress verbose output

Demonstration

$ docker images -f reference=hello-world
REPOSITORY   TAG       IMAGE ID   CREATED   SIZE
$ docker pull hello-world
Using default tag: latest
latest: Pulling from library/hello-world
c1ec31eb5944: Pull complete
Digest: sha256:4bd78111b6914a99dbc560e6a20eab57ff6655aea4a80c50b0c5491968cbc2e6
Status: Downloaded newer image for hello-world:latest
docker.io/library/hello-world:latest
$ docker images -f reference=hello-world
REPOSITORY    TAG       IMAGE ID       CREATED        SIZE
hello-world   latest    d2c94e258dcb   8 months ago   13.3kB

See also

Docker commands

Index