News for hackers. Stuff that matters.
Re:Build Your Own Docker with Linux Namespaces, Cgroups, and... by jeroenhd on Tuesday June 27, 2023 @07:06AM (#36491290)
That's an interesting way to use systemd-nspawn!

But, if it mounts everything, wouldn't that also make container escapes very easy?

Re:Build Your Own Docker with Linux Namespaces, Cgroups, and... by db48x on Tuesday June 27, 2023 @04:50PM (#36498444)
When it is volatile, it really only mounts the /usr inside the specified directory, rather than the directory itself. In particular, /dev and /etc will be empty.