4 ms·
Well, system-wise Go app is just a binary that only needs network access, could be run directly from systemd and just have all permissions set there. Docker is
by adql 4y ago
Well, system-wise Go app is just a binary that only needs network access, could be run directly from systemd and just have all permissions set there.
Docker is a bunch of file mounts and app running in separate namespaces. So extra daemon, extra layers of complexity. Of course if you're already deploying other docker apps it doesn't really matter, as you'd want to have that one binary in docker container anyway just to manage everything from same place.
- BrandoElFollito 4y agoThere is also the deployment part that is easier (au least for an amateur dev such as myself). I have a CI/CD template, Erin all my web stuff via a dockerized caddy reverse proxy, do not need to touch the configuration of the host (to create .service &co. files) I find deploying to docker just simpler.