Installing Docker
In this recipe, we look at how to install Docker and verify that it is running.
Getting ready
Docker is supported on Linux, macOS, and Windows, so it has the major platforms covered. The installation process for Docker is different depending on the operating system that you are using, and even differs among the different Linux distributions.
The Docker website has good documentation on the installation processes, so this recipe will quickly walk through the important points of the installation on macOS. Once the install is complete, the user experience for Docker, at least from the CLI, is identical.
Note
For reference, the main page for installation instructions for Docker is found at: https://docs.docker.com/engine/installation/
How to do it
We will be proceeding with the recipe as follows:
- We will be using a variant of Docker known as Docker Community Edition, and walk through the installation on macOS. On the download page for macOS you will see the following section. Click...