Back to Docker

docker compose export

_vendor/github.com/docker/compose/v5/docs/reference/compose_export.md

18.09-release650 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-->