Answers for "dockerfile copy file from image to host"

13

copy file from docker container to host

docker cp <containerId>:/file/path/within/container /host/path/target
Posted by: Guest on June-23-2020
0

how to copy docker images from one host to another

docker save -o <path for generated tar file> <image name>

docker load -i <path to image tar file>
Posted by: Guest on March-13-2022

Code answers related to "dockerfile copy file from image to host"

Browse Popular Code Answers by Language