Namespaces namespaces
Programming languages
Encapsulation → code isolation
Operating system
Isolation of system resources
Processes, networks, file systems
Process isolation pid:process ID
Network interface Management Net:network
Access ipc:interprocess communication for cross-process communication
Manage mount points Mnt:mount
Isolating kernel and version identifiers Uts:unix timesharing System
Control groups Controls Group
Resource limits
Priority setting
Resource metering
Resource control
The capabilities of Docker containers
File system isolation: Each container has its own root file system
Process isolation: Each container runs in its own process environment
Network isolation: The virtual network interface and IP address of the container components are separate
Resource isolation and Grouping: Use Cgroup to assign resources such as CPUs and memory to each container independently
This article from "Life, such as painting, Pen no regrets!" "Blog, be sure to keep this provenance http://521angela.blog.51cto.com/9680035/1783982
Docker-dependent Linux kernel features