Docker export

From NovaOrdis Knowledge Base
Revision as of 02:46, 2 January 2021 by Ovidiu (talk | contribs) (→‎Internal)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

Internal

Overview

Exports a container's file system as a tar archive (it only works with containers, not images).

docker export <container-id> -o /tmp/fs.tar

Both running and stopping containers can be exported this way.