参考文献
环境说明
mac
macOS mojave 10.14.5
Docker Desktop
Docker version 19.03.13, build 4484c46d9d
docker-sync
原因说明
序言
使用mac的朋友,尽量别用docker做为开发环境,请求耗时非常慢,使用了docker-sync与cache皆无果,目前我已回退homestead+vagrant开发环境,有解决方法可以一起探讨一下。
Bind mounts on Docker for Mac
The Linux kernel makes container-style isolation efficient, but running containers on Docker editions for non-Linux operating systems such as macOS involves several additional moving parts that carry additional overhead.
Docker containers run on top of a Linux kernel, and so the Docker for Mac container runtime system runs a minimal Linux instance using the HyperKit framework. Containers running on top of the Linux system cannot directly access macOS filesystem or networking resources, and so Docker for Mac includes libraries that expose those resources in a way that t