This repository was archived by the owner on May 27, 2025. It is now read-only.
This repository was archived by the owner on May 27, 2025. It is now read-only.
add PID namespace #452
Open
Description
Heya! It would be great to add a commandline flag that allows you to set up a PID namespace to isolate users from seeing other commands elsewhere.
Here are some of my use cases:
- Some applications (specifically, RStudio) try to have only one process running per system, with daemonizing and PID hacks. They behave much better inside a PID namespace than outside.
- When running interactive applications (like Jupyter notebooks), this gives users a more isolated, clearer view of what they are actually running.
- Something about having tini or similar be able to run as pid1 more easily. I don't actually know if this has any advantages, though.
In general, especially for interactive use cases, this gives you the option to provide a more isolated view of the system than otherwise.