mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-22 18:51:27 +00:00
Update cheatsheets
This commit is contained in:
@@ -8,11 +8,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Export Docker images to archive.
|
||||
> More information: <https://docs.docker.com/reference/cli/docker/image/save/>.
|
||||
|
||||
- Save an image by redirecting `stdout` to a tar archive:
|
||||
- Save an image by redirecting `stdout` to a `.tar` archive:
|
||||
|
||||
`docker {{[save|image save]}} {{image}}:{{tag}} > {{path/to/file.tar}}`
|
||||
|
||||
- Save an image to a tar archive:
|
||||
- Save an image to a `.tar` archive:
|
||||
|
||||
`docker {{[save|image save]}} {{[-o|--output]}} {{path/to/file.tar}} {{image}}:{{tag}}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user