docker copy file from image to host code example Example: docker copy files from container to host docker cp :/file/path/within/container /host/path/target