

Its specification reference in the Dockerfile reference. Text file containing instructions that adhere to a specific format needed toĪssemble your application into a container image and for which you can find "Docker Desktop for Mac vs.Docker builds images by reading the instructions from a Dockerfile. G.docker runs Linux virtual machines based on specific virtualization technology on mac os or windows, and does not share the host kernel. Note that you can use the ctrl+ad shortcut key to exit the screen window. You can enter the LinuxKit virtual machine through screen Library/Containers//Data/vms/0/tty (the latter part of the path may change), enter ls to display the prompt, and view it through other linux commands Inside is a customized linux system, running dockerd, containerd and other background processes. Docker applications also have built-in libraries that support Docker VM networking and storage, which provide interaction between Linux and OSX/Windows.į. Unlike other hypervisors, because of the built-in Hypervisor framework (introduced since OSX 10.10), it does not require admin priority. Running Docker on Mac will run a lightweight hipervisor (standalone embedded linux instance), which contains the latest stable version of the Docker engine. The Docker engine API exposes the service endpoint to the outside through/var/run/docker.sock, and the docker client on the mac connects to the docker daemon through it.Į. It is independent of the virtual host created by Docker Machine. HyperKit is a lightweight virtualization technology solution based on amework on MacOS.Ĭ. It uses HyperKit instead of the virtualbox virtual machine. LinuxKit is a miniature Linux system implemented by kernel+busybox, in which containerd and runc services are directly installed.ī. So I checked the relevant information online and summarized as follows:Ībout Docker Desktop for Mac instructionsĪ. Since Docker is implemented based on the linux kernel-related technology, Docker containers on Linux share the kernel of the host, so I am curious about why Docker can run on Mac and Windows.
