Installing Docker Toolbox on macOS

Follow these steps for installation:

  1. Open a new Terminal window and use Homebrew to install the toolbox:
$ brew cask install docker-toolbox 

You should see something like this:

Installing Docker Toolbox on macOS
  1. To verify that Docker Toolbox has been installed successfully, try to access docker-machine and docker-compose, two tools that are part of the installation:
$ docker-machine --versiondocker-machine version 0.15.0, build b48dc28d$ docker-compose --versiondocker-compose version 1.22.0, build f46880f

Next, we will install Docker Toolbox on Windows.

Get Learn Docker - Fundamentals of Docker 19.x - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.