mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-18 19:01:10 +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/engine/reference/commandline/save/>.
|
||||
|
||||
- Save an image by redirecting `stdout` to a `tar` archive:
|
||||
- Save an image by redirecting `stdout` to a tar archive:
|
||||
|
||||
`docker save {{image}}:{{tag}} > {{path/to/file.tar}}`
|
||||
|
||||
- Save an image to a `tar` archive:
|
||||
- Save an image to a tar archive:
|
||||
|
||||
`docker save --output {{path/to/file.tar}} {{image}}:{{tag}}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user