Difference between revisions of "Docker export"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
+
{{lc}}
 
<code>docker export</code> export a container’s filesystem as a [[tar]] archive
 
<code>docker export</code> export a container’s filesystem as a [[tar]] archive
 
* https://docs.docker.com/engine/reference/commandline/export/
 
* https://docs.docker.com/engine/reference/commandline/export/

Revision as of 14:59, 13 January 2023

docker export export a container’s filesystem as a tar archive


docker export container-name | gzip > container-name.gz
zcat container-name.gz | docker import - container-name

Related terms

See also

Advertising: