5 ms·
No. Docker for mac runs a Linux VM.
by RantyDave 9y ago
No. Docker for mac runs a Linux VM.
- k__ 9y agoDoesn't that defeat the purpose of Docker? But anyway, thanks for the info :)
- OJFord 9y agoNo, because the purpose of Docker is not 'to run XCode CLI tools'...
- wz1000 9y agoI think the GP means that the purpose of Docker is to provide containers, which are a substitute for VMs. If you are going to be running a VM anyway, why run a container?
- k__ 9y agoYes. thank you.
- ianburrell 9y agoThe purpose of running Docker on Mac is to run Linux containers, mainly for developing or testing containers that will be run on Linux servers. macOS doesn't support native containers. Windows does have Windows containers. Docker on Windows can run both Linux or Windows containers.
- alangpierce 9y agoRunning a Linux VM on Mac defeats some of the purpose of Docker, but it's still valuable: * Docker is useful for production and has various other benefits, and Docker for Mac is a nice way to develop locally with Docker even if it's not as efficient as on Linux. * Docker for Mac uses some built-in virtualization tools in macOS to share network and filesystem more efficiently than you could do with the older VirtualBox approach. So it's maybe a little closer to native OS support than you're thinking. * A typical configuration has a single Linux VM holding many Docker containers, which is better than the alternative of many VMs.