Linux Namespaces: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 6: Line 6:


Namespaces enable creating an abstraction of a particular global system resource, making it appear as a separated instance to processes within a specific namespace. As result, several containers can use the same resource simultaneously without collisions.
Namespaces enable creating an abstraction of a particular global system resource, making it appear as a separated instance to processes within a specific namespace. As result, several containers can use the same resource simultaneously without collisions.
=Namespace Types=


=PID Namespace=
=PID Namespace=

Revision as of 22:04, 26 January 2018

Internal

Overview

Namespaces enable creating an abstraction of a particular global system resource, making it appear as a separated instance to processes within a specific namespace. As result, several containers can use the same resource simultaneously without collisions.

Namespace Types

PID Namespace

The PID namespace provides separation of processes. It removes the view of the system processes, and allows process IDs to be reused, including pid 1.

UTS Namespace

The UTS namespace is for setting the hostname and the domain that is visible to running processes in that namespace.

IPC Namespace

The IPC (POSIX/SysV IPC) namespace provides separation of named shared memory segments, semaphores and message queues.