Copying Files From Docker Container to Host

0 minute read

Option 1

In order to copy a file from a container to the host, you can use the command

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