get files out of docker code example Example: copy file from docker container to host docker cp <containerId>:/file/path/within/container /host/path/target