Hacker News new | ask | show | jobs
by antonvs 18 days ago
It makes more sense to install services like nginx via the official containers. In the modern world, the OS is for base services only.
2 comments

The distributions can customize packages with sensible defaults. Debian usually does, and is incredibly convenient. They usually disable features most people don't use, and allow you to easily switch them on if you choose.
You are aware of the massive vulnerabilities coming out across software eco-systems recently right?

Ubuntu and other distros have not kept up.

Podman container auto-updates to the latest upstream. It is a minimal surface area given alpine images. Security first containment.

In this day and age with AI attackers and zero-days it is absolutely daft to still treat servers as the old-school pets model.

> Podman container auto-updates to the latest upstream

Doesn't this make the system more susceptible to supply chain attacks?

Sure but the trade off is faster patches from upstream and actual containment if something is exploited in the wild.

My nginx instance is very very tightly scoped for what privileges, file system space and capabilities it can access.

If someone exploits nginx on host, they have a remote shell and access to everything.

Agreed. At a previous job all the important stuff came from repos that always shipped latest.