Native Docker client and virtual machine
A common (and officially recommended) approach is to have a minimal virtual machine that runs Linux and Docker, and a Docker client that talks to Docker on that virtual machine.
The currently recommended and supported way of doing this is
- Mac users should install Docker for Mac: https://docs.docker.com/docker-for-mac/
- Windows users should install Docker for Windows: https://docs.docker.com/docker-for-windows/
Unlike the virtual machine approach described previously, the VM created by the Docker for Mac/Windows tools is very lightweight, as it only runs Docker, but it’s worth being aware that you may still need to modify the memory of the VM in the settings if you’re running resource-heavy programs. ...