Updated: 28 June 2024
Copy file or directory from container to host
docker cp <:containerId>:/file/path/within/container /host/path/target
Copy file or directory from host to container
docker cp /host/path/target <:containerId>:/file/path/within/container