compose/docs/reference/compose_cp.md

545 B

docker compose cp

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

Options

Name Type Default Description
--all Copy to all the containers of the service.
-a, --archive Archive mode (copy all uid/gid information)
-L, --follow-link Always follow symbol link in SRC_PATH
--index int 1 Index of the container if there are multiple instances of a service [default: 1].