Y
Y
YakutD2020-10-08 10:47:08
Docker
YakutD, 2020-10-08 10:47:08

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

1 answer(s)
U
unseriously, 2020-10-08
@unseriously

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 question

Ask a Question

731 491 924 answers to any question