Answers for "docker copy directory to host machine"

3

docker copy from container to host

# container to host
ocker cp <containerId>:/file/path/within/container /host/path/target

# host to container
docker cp /host/local/path/file <containerId>:/file/path/in/container/file
Posted by: Guest on October-06-2021

Browse Popular Code Answers by Language