Difference between revisions of "Docker export"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
− | * [[List files]]: <code>[[docker export]] your- | + | * [[List files]]: <code>[[docker export]] [[your-container]] | [[tar t]]</code> |
Revision as of 14:59, 8 March 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
cowardly refusing to save to a terminal. Use the -o flag or redirect
Related terms
docker cp
See also
Advertising: