Install Docker on macOS

Before we do anything interesting to usDocker file, We need to install Docker.

The exact installation instructions depend on your operating system.

The Docker website contains detailed instructions on the following:

I am a Mac user and I will show you the exact steps to install Docker on a Mac. If you use Windows or Linux, please refer to the instructions (I don't have a Windows or Linux desktop computer to try).

Docker Desktop for MacIs the name of the software you need to install, you can find it here:

After downloading the installation file over 400MB in size, run it, and then you will be asked to move the Docker application to the Applications folder.

Do this, and then run the application:

The first thing that happens is that it requires you to install the command line tools, and it requires your permission (and password):

You will see a whale icon appear on the Mac toolbar, initially notifying you that Docker Desktop is starting:

Upon completion, you will get a green light:

Now you will install the Docker command line tool.

Open terminal and run

docker version

Make sure everything is in order.

More docker tutorials: