docker-machine: command not found

wogsland picture wogsland · Feb 5, 2020 · Viewed 21.1k times · Source

I recently upgraded Docker Desktop for Mac to version 2.2.0.0, and now when try to run a docker-machine command I am getting an error:

$ docker-machine --version

docker-machine: command not found

Docker Machine used to be installed with Docker, but it appears in the latest docs that this is no longer the case. What is the replacement or do I need to install Docker Machine from somewhere else?

Answer

Josh Beauregard picture Josh Beauregard · Feb 5, 2020

Docker machine has been removed from later versions of Docker Desktop. Your going to need the docker-toolbox package.

Read here for install and co existence of the packages.

https://docs.docker.com/docker-for-mac/docker-toolbox/#docker-toolbox-and-docker-desktop-coexistence