docker export

From wikieduonline
Revision as of 10:03, 26 April 2023 by Welcome (talk | contribs) (→‎See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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


Error response from daemon: No such container: image_instead_of_container
cowardly refusing to save to a terminal. Use the -o flag or redirect

Related terms

See also

Advertising: