Re:Working on Multiple Web Projects with Docker Compose and ...
by hknmtt on Wednesday October 04, 2023 @05:05AM
(#37762676)
By definition containers are static. Of course I could use them but it would essentially only add one step into the build process and I would gain absolutely noting from it. And I have no reason to use containers only for the sake of using them.
Re:Working on Multiple Web Projects with Docker Compose and ...
by throwaway6835-8 on Wednesday October 04, 2023 @06:27AM
(#37763158)
> I would gain absolutely noting from it
What about isolation? Of runtime, ports, dependencies?
That's something I've seen many times said by many people but I don't understand. Your code can be mounted from the host into the container. There's no need to rebuild images with each change. Inside such "development" container some form of watcher/auto-rebuild can run and recompile & restart your program after changes are made in code. Isn't it standard practice?