docker container cp <CONTAINER:SRC_PATH DEST_PATH|- OR SRC_PATH|- CONTAINER:DEST_PATH>
Copy files/folders between a container and the local filesystem
Arguments
Name | Description |
---|---|
CONTAINER:SRC_PATH DEST_PATH|- OR SRC_PATH|- CONTAINER:DEST_PATH |
Options
Name | Description |
---|---|
-a, --archive | Archive mode (copy all uid/gid information) |
-L, --follow-link | Always follow symbol link in SRC_PATH |