3 ms·
You make it sound like you have to edit your code inside the container. I don't do that. I edit it on the host OS. I just run the code inside the container.
by TekMol 4y ago
You make it sound like you have to edit your code inside the container.
I don't do that. I edit it on the host OS.
I just run the code inside the container.
- zzzeek 4y agoDo you have to mount the location of the code as a volume in the container also? I use containers regularly but adding them to a development workflow for a standalone python application I could just as easily run directly without having the additional complexity of navigating container boundaries always mystifies me.
- TekMol 4y agoYes, I have one terminal window in which I run / use the code. I start it like this: docker run --rm -it -v $(pwd):/some/where debian:11 Most of the time I don't use plain Debian, but an image based on Debian which I have peppered with some convenience stuff.