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...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
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.
+
[[Linux namespaces]] (hereinafter, the ''Spaces'') is the primary feature of the Linux kernel that allows for assigning of particular kernel resources to particular processes, so no process can interfere with another. These resources may include process IDs, hostnames, user IDs, file names and some names associated with network access, as well as interprocess communication. The ''Spaces'' make containers such as [[Docker]]s possible.
  
Namespaces are a fundamental aspect of containers on Linux.
+
A [[Linux namespace]] is either a type of namespace (for instance, process ID) or a particular space of names.
  
The term "namespace" is often used for a type of namespace (e.g. process ID) as well as for a particular space of names.
+
==See also==
 
+
*https://www.cloudsavvyit.com/742/what-are-linux-namespaces-and-what-are-they-used-for/
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.
 

Latest revision as of 13:22, 22 August 2021

Linux namespaces (hereinafter, the Spaces) is the primary feature of the Linux kernel that allows for assigning of particular kernel resources to particular processes, so no process can interfere with another. These resources may include process IDs, hostnames, user IDs, file names and some names associated with network access, as well as interprocess communication. The Spaces make containers such as Dockers possible.

A Linux namespace is either a type of namespace (for instance, process ID) or a particular space of names.

See also