3 ms·
The process in the OP—starting a VM in Virtualbox, and having Docker use the VM—is basically a manual version of what docker-machine does automatically. https:
by Wowfunhappy 6y ago
The process in the OP—starting a VM in Virtualbox, and having Docker use the VM—is basically a manual version of what docker-machine does automatically.
https://github.com/docker/machine https://github.com/docker/machine
Even though it's all a VM under the hood, docker-machine makes it all feel a bit more streamlined/native. Also, the version of Linux it uses—Boot2Docker—will likely start up more quickly, and probably use slightly fewer resources as well.
I'm using docker-machine so I can run Docker on OS X 10.9, which predates Docker Desktop (and Hyperkit).
- degraafc 6y agoDocker Machine is unmaintained though, I'm not sure that it would work to launch VMs on M1 hardware.
- Wowfunhappy 6y agoI'd expect it to work via Rosetta. Alternately, it's a Go project—I'm not sure what the status of Go is on Apple Silicon, but once that's figured out it should be a relatively easy recompile.
- dgdosen 6y agoI'm running docker-machine on an M1 mac right now (via rosetta), installed via homebrew.