Answer the question
In order to leave comments, you need to log in
How to get rid of the hassle in Docker with rebuilding img and container after editing files on your OC?
I have airgram on docker. I don't know him well. I save the file all the time and build the container. Yes, by trial and error to get the desired result. Since the docks are very scarce, by the fact that where is which method, etc.
And so every time I need to rebuild the image and then collect the container. and this is dozens of times ......
You can somehow get around this, it’s nice to do so that you don’t rebuild the image and containers many times
I was told about volumes - but I didn’t really understand that there are files separate from containers - but they are also located in docker. And I'm in Windows with my VS editor.
And I can’t collect everything at once on my computer. (Bring it to mind and only then throw it into the docker) - because I just don’t put Tdlib on my wine. - they even threw me a ready-made dll compiled for Windows. and everything was exactly swearing errors shaft was)))
Answer the question
In order to leave comments, you need to log in
Volume is everything. These files are on your machine, and they are simply forwarded to the container. no magic
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question