mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
514 B
514 B
cp
Usage: docker cp CONTAINER:PATH HOSTDIR|-
Copy files/folders from the PATH to the HOSTDIR.
Copy files or folders from a container's filesystem to the directory on the
host. Use '-' to write the data as a tar file to STDOUT. CONTAINER:PATH is
relative to the root of the container's filesystem.