Back to Compose

docker compose export

docs/reference/compose_export.md

5.1.3650 B
Original Source

docker compose export

<!---MARKER_GEN_START-->

Export a service container's filesystem as a tar archive

Options

NameTypeDefaultDescription
--dry-runboolExecute command in dry run mode
--indexint0index of the container if service has multiple replicas.
-o, --outputstringWrite to a file, instead of STDOUT
<!---MARKER_GEN_END-->