Docker
As we know that docker is container management tool which uses client server architecture.
It helps to build the applications, distribute it and run those applications into a docker container.
Today we are going to check how to install Docker Toolbox on Mac.
When you Mac OS is old and does not meet the requirements of Docker Desktop for Mac, the alternate solution is Docker Toolbox.
Docker Toolbox contains following important tools:
- Docker CLI docker binary : It helps to run Docker Engine to create images & containers.
- Docker Machine : It helps to run Docker Engine commands ( macOS terminal )
- Docker Compose : It helps to run docker-compose commands.
- Kinematic : It helps to automate docker installation.
- Docker Quick start Terminal App : It is a Docker command-line terminal.
- Oracle VirtualBox : Used to create Linux local machine.
To install Docke Toolbox on Mac following are few steps to be followed:
Verify the Mac OS Version :
Go to the option – About this Mac and check the MacOS version.
If your macOS version is 10.13.0 or higher then you can install Docker Desktop for MAC.
How To Install Docker Desktop for MAC – Check the following Blog.
Install Docker Toolbox :
Download the latest docker version. Click on the below button to download and download .pkg file.
Current Version is : v19.03.1

Installation Steps :
Step 1 : Go to finder – Double click on the downloaded package DockerToolbox-19.0.3.1.pkg file.

Step 2 : On double click on the pkg file, Docker install window will be opened. A warning can be appear to notify user to install the software from a trusted source.
Click on Continue button to proceed.
Docker Toolbox Installer with its version number will appear on Window.
Click on Continue button to proceed.

Step 3 : A overview message will be displayed informing the installation component details. Read it carefully and check what all components are being installed.
Click on Continue button.

Step 4 : By default the installer will select the disk for the installation. Make sure your disk has sufficient space for the installation.
About 550 Mega bytes space is required for full installation.
Click on the Continue button.

Step 5 : If your disk has partition and if you need to change the installation path then you can select the change installation location.
Click on Install button.

Step 6 : While installer is trying to install new software – security pop up is displayed.
Enter your mac security credentials and click on Install Software button.

Step 7 : Verifying the credentials the installer will proceed to install the required components.

Step 8 : Once installation is completed you will get quick start screen with option to choose the tool.
You can get this tools in the finder, so for now Click on button Continue.

Step 9 : Hurray !!!
Docker installation is successful completed. You will get the success screen.
Click on Close button.

Step 10 : Now to launch the Docker Quick start Terminal – go to finder and search the tools.

Step 11 : Click on the Docker Quickstart Terminal to launch the terminal.
We can get the following error popup.

We have to give permission to both tool for app accessibility.
- Go to the System Preferences / Privacy / Accessibility and Click on Lock icon.
- Select the Docker Quickstart terminal.
- Enter the credentials and Unlock the Lock.

Step 12 : Now Click on the Docker Quickstart terminal tool. Terminal window will get launched and perform few configuration steps. Wait to complete it.
Once all is configured you will get similar screen on the Terminal.
docker will get configured and will start docker machine with IP – 192.168.99.100

Step 13 : Check the docker version with following command : docker-machine version
You should get similar out put in the docker terminal screen.

Step 14 : Check the docker compose version with following command : docker-compose version
You should get similar out put in the docker terminal screen.

Step 15 : Run Docker “Hello World”
Type command : docker run hello-world
Note : Make sure you are connected to internet – as it will pull the hello-world image from docker-hub.
Docker Hub – Docker hub is a repository service which helps us to find and share the docker images.
If all these steps work properly and hello world image runs properly then it means docker installation is properly working on your mac.
Check Similar Blogs :
Important docker commands
Download / Install Docker Toolbox ( Windows 7 & Above )
Download / Install Docker Desktop ( macOS )
Download / Install Docker ( Ubuntu )
Download / Install Docker ( CentOS )
Hope this information was helpful to you.
Feel free to comment if you face any issues or have any doubts.