-
Notifications
You must be signed in to change notification settings - Fork 2k
How to get newest docker engine on MacOS with open-source Docker? #4895
Comments
Version 19.03 is indeed the last and final version of boot2docker, the Linux distribution of Docker machine. It is now deprecated You can use an Ubuntu VM and install Docker in it, but docker-machine only does this for cloud drivers (and doesn't support 20.10) |
Like so: https://boot2podman.github.io/2020/07/22/machine-replacement.html (mostly written for use with Podman, but also shows instructions for Docker) vagrant init ubuntu/focal64
vagrant up
vagrant ssh See https://www.vagrantup.com/ vagrant@ubuntu-focal:~$ curl -fsSL https://get.docker.com | sudo sh
vagrant@ubuntu-focal:~$ sudo usermod -aG docker $USER
vagrant@ubuntu-focal:~$ newgrp docker See https://docs.docker.com/engine/install/ubuntu/ The
Not all third party tools support It is also possible to tunnel the You could use another virtualization solution, by doing the same commands as in the Vagrantfile... |
examples docker-machine with vagrant.
Vagrantfile
docker-compose.yml
index.php
launch vagrant vm.
register to docker-machine with generic driver.
apply docker-machine environment variables.
list docker machines.
launch docker container.
open browser.
|
Nice! I was thinking to do a vagrant-machine to wrap it (Vagrant), but in retrospect a Vagrant machine-driver would have been better... |
Here is another project that I'm following closely: https://github.com/abiosoft/colima It is the most promising Docker Desktop replacement for Mac I have seen and I have had the most success with it so far. |
After installing both
docker
anddocker-machine
from Homebrew and setting up docker-machine with a VirtualBox driver, thedocker version
command reports that my client version is20.10.8
whereas the server version is19.03.12
.I would like to upgrade to the latest server version (
20.10.8
at the time of posting), that should still be open source if I'm not mistaken.As it appears that
docker-machine
is not actively maintained anymore, what is the correct way to upgrade to the latest docker server version (without using proprietary Docker software)? Are there any instructions anywhere? ThanksThe text was updated successfully, but these errors were encountered: