docker cp <containerId>:/file/path/within/container /host/path/target
docker cp foo.txt mycontainer:/foo.txt