Copying files from Docker container to host

source: https://stackoverflow.com/questions/22049212/copying-files-from-docker-container-to-host

In order to copy a file from a container to the host, you can use the command

docker cp <containerId>:/file/path/within/container /host/path/target

Leave a comment