DEV Community

Discussion on: Copy files into a running Docker container

Collapse
 
matthias profile image
Matthias 🤖

Glad that I could show you something new!

To answer your question, if you stop the container (docker stop abcdef) and rerun (docker start abcdef) it, the file will be still available.

If you remove the container (docker rm abcdef), the file will be deleted too, of course.