Docker export: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Image Operations =Overview= Exports a container's file system as a tar archive. The container must exist.exi...") |
|||
Line 5: | Line 5: | ||
=Overview= | =Overview= | ||
Exports a container's file system as a tar archive. | Exports a container's file system as a tar archive. | ||
docker export <''container-id''> -o /tmp/fs.tar | docker export <''container-id''> -o /tmp/fs.tar | ||
Both running and stopping containers can be exported this way. |
Revision as of 03:46, 5 December 2017
Internal
Overview
Exports a container's file system as a tar archive.
docker export <container-id> -o /tmp/fs.tar
Both running and stopping containers can be exported this way.