docker compose cp

DescriptionCopy files/folders between a service container and the local filesystem
Usagedocker compose cp [OPTIONS] SERVICE:SRC_PATH DEST_PATH|- docker compose cp [OPTIONS] SRC_PATH|- SERVICE:DEST_PATH

Description

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

Options

OptionDefaultDescription
-a, --archiveArchive mode (copy all uid/gid information)
-L, --follow-linkAlways follow symbol link in SRC_PATH
--indexIndex of the container if service has multiple replicas