News for hackers. Stuff that matters.
Re:Proxmox Docker Containers Monster – 13000 containers on a... by nnntriplesec on Monday April 17, 2023 @10:35AM (#35601369)
Depends on the kind of container. It is not necessarily true that 1 container == 1 process. I run Docker containers with 1000s of processes.
Re:Proxmox Docker Containers Monster – 13000 containers on a... by arghwhat on Monday April 17, 2023 @01:32PM (#35603852)
The "container" is the first process, which can create children that inherit the same properties.
Re:Proxmox Docker Containers Monster – 13000 containers on a... by pxc on Monday April 17, 2023 @02:11PM (#35604351)
Generally this is not what Docker containers are 'for', right? Docker is intended as a system for 'application containers', which yes, may spawn child processes, but are generally not expected to include a process supervisor or service management layer internally.

Contrast this to 'operating system containers' which are designed to run an init system, so individual containers are intentionally multiprocess. Many virtual private servers run in containers of this kind, e.g., by OpenVZ.

On that note, how come you've gone with Docker for this rather than something like LXC or OpenVZ, which are ostensibly designed for the large, multiprocess container use case?

Re:Proxmox Docker Containers Monster – 13000 containers on a... by ecnahc515 on Monday April 17, 2023 @04:18PM (#35605998)
Well, they could also just mean their service is a multi-process program (as opposed to threads, which...are also processes), but it's not super clear.
Re:Proxmox Docker Containers Monster – 13000 containers on a... by nnntriplesec on Tuesday April 18, 2023 @07:32AM (#35612568)
see my reply above
Re:Proxmox Docker Containers Monster – 13000 containers on a... by nnntriplesec on Tuesday April 18, 2023 @06:50AM (#35612264)
Yes I run an init system that starts multiple processes and services. All in a Docker container.

I would be very keen to understand why LXC is better than Docker for this. I've also read this kind of "marketing" around so called "operating system containers" but I am still clueless why they are better. Concretely, what are the benefits?