The Wayback Machine - https://web.archive.org/web/20260314222124/https://docs.docker.com/reference/cli/docker/compose/export/
Share feedback
Answers are generated based on the documentation.

docker compose export

DescriptionExport a service container's filesystem as a tar archive
Usagedocker compose export [OPTIONS] SERVICE

Description

Export a service container's filesystem as a tar archive

Options

OptionDefaultDescription
--indexindex of the container if service has multiple replicas.
-o, --outputWrite to a file, instead of STDOUT