- Get the latest docker toolbox installer from the docker website.
Stop all running docker machines, e.g.
$ docker-machine stop dev
Run the toolbox installer and agree to any upgrade request.
Once the installation is complete, you’ll need to upgrade the docker machine, e.g.
$ docker-machine upgrade dev
Start the docker machine e.g.
$ docker-machine start dev
If the docker machine’s IP changes, you’ll need to regenerate its certs, e.g.
$ docker-machine regenerate-certs dev
Configure your shell to use the docker machine as your docker engine, e.g.
$ eval "$(docker-machine env dev)"