3 ms·
You can debug from the host or from another container using `--pid=container:id` which puts you in the process namespace of a running container. Build time is
by justincormack 10y ago
You can debug from the host or from another container using `--pid=container:id` which puts you in the process namespace of a running container.
Build time is important, if you can use build layer cacheing it helps a lot, but how to structure it depends on your project. I don't myself use Dockerfile.dev, but I do sometimes mount the code into the container to build and run it directly. I think it would definitely help for more blogs and examples of how to do these things, as there is a lot of room for improvement.