Salin file dari wadah Docker ke mesin host menggunakan CMD
docker cp <containerId>:/file/path/within/container /host/path/target
Jealous Jaguar
docker cp <containerId>:/file/path/within/container /host/path/target
# 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
docker cp foo.txt mycontainer:/foo.txt