Difference between revisions of "Docker export"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
docker export container-name | gzip > container-name.gz | docker export container-name | gzip > container-name.gz | ||
+ | docker export container-name | container-name.tar | ||
zcat container-name.gz | [[docker import]] - container-name | zcat container-name.gz | [[docker import]] - container-name | ||
Revision as of 15:40, 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
Related terms
See also
Advertising: