Hacker News new | ask | show | jobs
by peterkelly 590 days ago
You know you can run multiple processes inside a single container, right?

The solution to the complexity of applications that are distributed as collections of interdependent containers is to put all of the different pieces inside a single container. This is equivalent to what people did before docker existed, and it's still perfectly viable today.

There's no need to over-complicate things.

1 comments

Is there a popular project which puts systemd and multiple processes in a container? I've seen only single process containers so far.
LXD/Incus for hypervisor-for-containers use-case.

Podman for "like Docker, but made by Linux people". It supports both application containers and system containers (which have systemd as PID 1).

systemd-nspawn might be what you are looking for: https://wiki.debian.org/nspawn