Skip to main content

host_namespace_id

Function host_namespace_id 

Source
pub fn host_namespace_id() -> Option<String>
Expand description

The mount and PID namespaces this process is in.

Two processes on the same machine in the same boot can still be in different containers, and then they share neither a filesystem view nor a PID space. That is a real identity difference, so it is reported as one.