我记得以前的 Mac 版是启动的一个 virtualbox 虚拟机.但是现在的 docker for Mac 是原生的了好像.
不是说 docker 用的 lxc 技术,对内核有限制么,只能模拟同一个内核的容器么?
不是说 docker 用的 lxc 技术,对内核有限制么,只能模拟同一个内核的容器么?
1
roychan Jan 5, 2017
不知道和这个有没有关系…
https://github.com/opencontainers/runc |
2
majinjing3 Jan 5, 2017 via Android
好像用的一个轻量级的虚拟机, hyperkit
|
3
majinjing3 Jan 5, 2017 via Android
|
4
skydiver Jan 5, 2017 via Android 官网说得很清楚了…为什么不去看看呢
Docker for Mac is our newest offering for the Mac. It runs as a native Mac application and uses xhyve to virtualize the Docker Engine environment and Linux kernel-specific features for the Docker daemon. https://github.com/mist64/xhyve/ |
5
Scholer Jan 5, 2017
也是虚拟机, alpine 。因为是虚拟机所以网络上还是有隔离的
|
7
iCyMind Jan 6, 2017
@xdz0611 也是用了虚拟机, 不过把 virtualbox 换成了更轻量的 xhyve( https://github.com/mist64/xhyve)
|