docker copy file from container to host when container is runned code example
Example: copy file from docker container to host
docker cp <containerId>:/file/path/within/container /host/path/target
docker cp <containerId>:/file/path/within/container /host/path/target