News for hackers. Stuff that matters.
Re:Linux containers in 500 lines of code (2016) by parhamn on Tuesday February 04, 2020 @05:27PM (#22241757)
I was actually wondering what the lowest-resource way of launching a bunch of mostly-idle single port applications in isolation currently is. Docker runtime is bloated, Kubernetes has recommended limits (and enforced on cloud providers), Runc feels like you have to implement Kubernetes/Docker on top yourself. Anyone seen anything else out there to run a few thousand single port binaries and multiplex them with a webserver?
Re:Linux containers in 500 lines of code (2016) by oszione on Tuesday February 04, 2020 @06:14PM (#22242195)
Podman with the new crun[1] container runtime is pretty lightweight. Everything circles back to C.

[1]: https://github.com/containers/crun

Re:Linux containers in 500 lines of code (2016) by xnyan on Tuesday February 04, 2020 @05:58PM (#22242048)
I’ve had really good results with LXC/LXD. Depending on the privileges of the container the only area of overhead that sometimes concerns me is filesystem IO, but ive been able to work around it.
Re:Linux containers in 500 lines of code (2016) by dpc_pw on Tuesday February 04, 2020 @08:38PM (#22243198)
Under the hood docker uses `runc` which is fairly small and easy to use, IMO.