系统相关
首页 > 系统相关> > Linux中的namespace

Linux中的namespace

作者:互联网

One of the fundamental parts of a container is namespaces. The concept of namespaces is to limit what processes can see and access certain parts of the system, such as other network interfaces or processes.

When a container is started, the container runtime, such as Docker, will create new namespaces to sandbox the process. By running a process in it's own Pid namespace, it will look like it's the only process on the system.

The available namespaces are:

Mount (mnt)

Process ID (pid)

Network (net)

Interprocess Communication (ipc)

UTS (hostnames)

User ID (user)

Control group (cgroup)

More information at https://en.wikipedia.org/wiki/Linux_namespaces

标签:container,process,namespace,system,parts,namespaces,Linux
来源: https://blog.csdn.net/LONG_Yi_1994/article/details/121794615