25 lines
654 B
Markdown
25 lines
654 B
Markdown
|
|
# docker image pull
|
||
|
|
|
||
|
|
> Download Docker images from a registry.
|
||
|
|
> More information: <https://docs.docker.com/reference/cli/docker/image/pull/>.
|
||
|
|
|
||
|
|
- Download a specific Docker image:
|
||
|
|
|
||
|
|
`docker {{[pull|image pull]}} {{image}}:{{tag}}`
|
||
|
|
|
||
|
|
- Download a specific Docker image in quiet mode:
|
||
|
|
|
||
|
|
`docker {{[pull|image pull]}} {{[-q|--quiet]}} {{image}}:{{tag}}`
|
||
|
|
|
||
|
|
- Download all tags of a specific Docker image:
|
||
|
|
|
||
|
|
`docker {{[pull|image pull]}} {{[-a|--all-tags]}} {{image}}`
|
||
|
|
|
||
|
|
- Download a Docker images for a specific platform:
|
||
|
|
|
||
|
|
`docker {{[pull|image pull]}} --platform {{linux/amd64}} {{image}}:{{tag}}`
|
||
|
|
|
||
|
|
- Display help:
|
||
|
|
|
||
|
|
`docker {{[pull|image pull]}} {{[-h|--help]}}`
|