Answer the question
In order to leave comments, you need to log in
How to edit files in a Docker container on Windows?
Hello, I'm dealing with Docker for the first time, I installed Docker Desktop for Windows 10, the containers are rising, everything works, but how can I edit the files inside the containers? No matter how much I dug, I could not find clear instructions for dummies.
Answer the question
In order to leave comments, you need to log in
To do this, you need to go into the container. On Linux, this is done like this:
docker exec -it d49f7e11d136 /bin/bash
instead of d49f7e11d136 - substitute the ID of your container.
I think this is done the same way on Windows.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question