mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 14:58:39 +00:00
Update cheatsheets
This commit is contained in:
@@ -14,12 +14,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Save an image to a tar archive:
|
||||
|
||||
`docker save --output {{path/to/file.tar}} {{image}}:{{tag}}`
|
||||
`docker save {{[-o|--output]}} {{path/to/file.tar}} {{image}}:{{tag}}`
|
||||
|
||||
- Save all tags of the image:
|
||||
|
||||
`docker save --output {{path/to/file.tar}} {{image_name}}`
|
||||
`docker save {{[-o|--output]}} {{path/to/file.tar}} {{image_name}}`
|
||||
|
||||
- Cherry-pick particular tags of an image to save:
|
||||
|
||||
`docker save --output {{path/to/file.tar}} {{image_name:tag1 image_name:tag2 ...}}`
|
||||
`docker save {{[-o|--output]}} {{path/to/file.tar}} {{image_name:tag1 image_name:tag2 ...}}`
|
||||
|
||||
Reference in New Issue
Block a user