Back to Compose

docker compose cp

docs/reference/compose_cp.md

5.1.3877 B
Original Source

docker compose cp

<!---MARKER_GEN_START-->

Copy files/folders between a service container and the local filesystem

Options

NameTypeDefaultDescription
--allboolInclude containers created by the run command
-a, --archiveboolArchive mode (copy all uid/gid information)
--dry-runboolExecute command in dry run mode
-L, --follow-linkboolAlways follow symbol link in SRC_PATH
--indexint0Index of the container if service has multiple replicas
<!---MARKER_GEN_END-->