doocker for mac 的虚拟机是基于 linuxkit
- 虚拟: HypervisorKit
- 网络 : vpnkit
- 文件: dataKit
- 系统: LinuxKit
- 系统工具集 busybox
一般的情况的 docker的端口映射
iptables -nvL DOCKER
Chain DOCKER (2 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- !docker0 docker0 0.0.0.0/0 172.17.0.2 tcp dpt:80
docker for mac 使用的是 vpnkit
/var/lib/docker/network/files/local-kv.db