Re:Dito – an advanced Layer 7 reverse proxy server written i...
by galdor on Wednesday October 09, 2024 @04:06PM
(#41792079)
You would be surprised by how many infrastructures have software running without any container :) I'm running FreeBSD on my servers so containers are out, but even if I was Linux, why would I use containers for base services?
[ Parent
| on HN ]
Re:Dito – an advanced Layer 7 reverse proxy server written i...
by MrDarcy on Wednesday October 09, 2024 @04:13PM
(#41792126)
I think they meant use a container to build caddy with xcaddy.
It is essentially a one liner to cross compile caddy for all your use cases as long as you have access to a container runtime to build it.
Re:Dito – an advanced Layer 7 reverse proxy server written i...
by ChocolateGod on Wednesday October 09, 2024 @05:10PM
(#41792665)
> why would I use containers for base services?
This is a supported feature of podman which can generate systemd units to make system services.
But, as for advantages (system has some of them too), sandboxing, resource constraints, ease of distribution, not being broken by system updates (glibc update on RHEL broke some Go binaries iirc).
My rule of thumb is that only system software (e.g. DE, firewall, drivers, etc) belong on the base system, everything else is going in a container. This is very easy to do now on modern Linux distros.
Re:Dito – an advanced Layer 7 reverse proxy server written i...
by eikenberry on Wednesday October 09, 2024 @06:18PM
(#41793347)
DE?
Re:Dito – an advanced Layer 7 reverse proxy server written i...
by trepanne on Thursday October 10, 2024 @01:04AM
(#41795699)
Presumably “desktop environment” e.g. KDE plasma or Gnome. You don’t really want to be containerising those.
Re:Dito – an advanced Layer 7 reverse proxy server written i...
by ChocolateGod on Thursday October 10, 2024 @03:02AM
(#41796316)
Yeh. I know people have run DE/Compositors in containers, but it doesn't really have any benefits outside of testing.