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

NameDescription
CONTAINER:SRC_PATH DEST_PATH|- OR SRC_PATH|- CONTAINER:DEST_PATH

Options

NameDescription
-a, --archiveArchive mode (copy all uid/gid information)
-L, --follow-linkAlways follow symbol link in SRC_PATH