Copy files from a Docker container to the host machine

Published: 06 September 2017
on channel: Adrian Oprea
23,474
93

In this short video I explain how to use the `docker cp` command to copy a file that sits inside a Docker container, to the host where that container is running.

I'm using a container which has wkhtmltopdf installed and I'm generating a PDF from my website homepage -- https://oprea.rocks -- which I later copy to my host machine for later analysis.

If you found the video useful, hit subscribe, and follow me on twitter / medium:

  / oprearocks  

  / @oprearocks  

#docker #devops #copy #filetransfer #webdevelopment #webdev #oprearocks


Watch video Copy files from a Docker container to the host machine online without registration, duration hours minute second in high quality. This video was added by user Adrian Oprea 06 September 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 23,47 once and liked it 9 people.