Report this

What is the reason for this report?

How to copy a file from a running Docker container to host?

Posted on March 15, 2020

As a good practice, you should treat containers as immutable and not make any direct changes during runtime. However, there are some cases when you would need to copy a file from your container to your Docker host for a lot of possible reasons.

Here’s how to do that!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.