mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
747 B
Plaintext
30 lines
747 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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]}}`
|