docker使用的是LXC 来实现VM的机制 linux
三种隔离机制 docker
一、Chroot spa
二、Cgroup 接口
三、Namespaces 进程
linux 3.12 支持6种Namespace 虚拟机