Digging into Linux namespaces – part 1
blog.quarkslab.com
blog.quarkslab.com
You'll see references to nsenter, cgcreate, cgdelete, cgexec, and so on. It's helpful to see how docker is mostly a veneer over things that are already in Linux. Not discounting docker, but a lot of the actual value is in things like Docker Hub and Docker Desktop versus the runtime itself.
https://lwn.net/Articles/531114/
(links to later parts at the end of the article).
Plus this
https://lwn.net/Articles/604609/
for a related concept (cgroups).
Probably could IMHO benefit from some simpler sentences to help most like-minded engineers to bridge the Linux namespace knowledge gap and get there quicker.
THEN again, I am not most like-minded engineers, just a lowly zero-buf network software architect for a layer-5 IPS/IDS system.
At any rate, it’s a great article of HOWTO “get there” due to its actual inner-working and interactivity between network realms being exposed.
Keep it up.
I mostly deal with the NET namespace (eg. 100+ VPN WAN source-base router + IDS lol) but I've never read an article that explore other namespaces in detail.
Most articles seems to be about VMS. I want to use cgroups and namespace to manange apps I use daily and that can be easily compromised.
Things like, neovim plugins, the terminal (kitty now edits the zshrc) etc.
I am aware of sandbox tools, like firejail. But wish there was more resources on how to manange local apps.