mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-01 14:54:22 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/docker-image-pull
Normal file
29
tldr/docker-image-pull
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
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, e.g. linux/amd64:
|
||||
|
||||
`docker {{[pull|image pull]}} --platform {{linux/amd64}} {{image}}:{{tag}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`docker {{[pull|image pull]}} {{[-h|--help]}}`
|
||||
Reference in New Issue
Block a user