Answers for "docker file copy files"

2

dockerfile copy specific files

COPY ["__BUILD_NUMBER", "README.md", "gulpfile", "another_file", "./"]
		All the files and folders, the last is destination
Posted by: Guest on November-05-2020
0

copy file from docker image

id=$(docker create image-name)
docker cp $id:path - > local-tar-file
docker rm -v $id
Posted by: Guest on October-18-2021

Browse Popular Code Answers by Language