Docker – copy file from container to host by imagename
To copy file from container file system to host use next command:
docker cp $(docker ps -aqf "name=imagename"):/container/dir/file_name.ext ./host/dir/file_name.ext
Scientific Algorithms and Analytics
To copy file from container file system to host use next command:
docker cp $(docker ps -aqf "name=imagename"):/container/dir/file_name.ext ./host/dir/file_name.ext