copy file from docker container to host
docker cp <containerId>:/file/path/within/container /host/path/target
copy file from docker container to host
docker cp <containerId>:/file/path/within/container /host/path/target
Docker: Copying files from Docker container to host
for copy file from a container to the host use the command
docker cp <containerId>:/file/path/within/container /host/path/target
You can also use (part of) the Container ID. The following command is equivalent to the first
sudo docker cp 1b4a:/out_read.jpg .
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us