Difference between revisions of "Linux namespaces"

From CNM Wiki
Jump to: navigation, search
(Created page with "A Linux namespace is an instance of Linux namespaces, which is the feature of the Linux kernel that partitions kernel resources. such that one set of processes sees o...")
 
m (Gary moved page Linux namespace to Linux namespaces)
(No difference)

Revision as of 20:49, 18 August 2021

A Linux namespace is an instance of 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.