Difference between revisions of "Docker export"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
* [[List files]]: <code>[[docker export]] your-image | [[tar t]]</code> | * [[List files]]: <code>[[docker export]] your-image | [[tar t]]</code> | ||
+ | |||
+ | |||
+ | cowardly refusing to save to a terminal. Use the -o flag or redirect | ||
== Related terms == | == Related terms == |
Revision as of 15:42, 22 February 2023
docker export
export a container’s filesystem as a tar archive
docker export container-name | gzip > container-name.gz docker export container-name > container-name.tar zcat container-name.gz | docker import - container-name
- List files:
docker export your-image | tar t
cowardly refusing to save to a terminal. Use the -o flag or redirect
Related terms
See also
Advertising: