docker-compose cp <source path> <dest path>
Copy files/folders between a service container and the local filesystem
Arguments
Name | Description |
---|---|
source path | |
dest path |
Options
Name | Description |
---|---|
--all | Copy to all the containers of the service |
--archive, -a | Archive mode (copy all uid/gid information) |
--follow-link, -L | Always follow symbol link in SRC_PATH |
--index <index> | Index of the container if there are multiple instances of a service |