Difference between revisions of "Linux namespaces"

From CNM Wiki
Jump to: navigation, search
Line 6: Line 6:
  
 
A Linux system starts out with a single namespace of each type, used by all processes. Processes can create additional namespaces and join different namespaces.
 
A Linux system starts out with a single namespace of each type, used by all processes. Processes can create additional namespaces and join different namespaces.
 +
 +
A [[Linux namespace]] is an instance of the ''Spaces''.

Revision as of 20:58, 18 August 2021

Linux namespaces, which is the feature of the Linux kernel that partitions kernel resources. such that one set of processes sees one set of resources while another set of processes sees a different set of resources. The feature works by having the same namespace for a set of resources and processes, but those namespaces refer to distinct resources. Resources may exist in multiple spaces. Examples of such resources are process IDs, hostnames, user IDs, file names, and some names associated with network access, and interprocess communication.

Namespaces are a fundamental aspect of containers on Linux.

The term "namespace" is often used for a type of namespace (e.g. process ID) as well as for a particular space of names.

A Linux system starts out with a single namespace of each type, used by all processes. Processes can create additional namespaces and join different namespaces.

A Linux namespace is an instance of the Spaces.