If you need to copy a file from a container to a host machine:

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