Installing Docker
Learn how to install Docker on your machine.
We'll cover the following...
Docker set-up
Let’s get you set up with Docker on your machine. We are going to be using the free, Community Edition (CE), rather than the Enterprise Edition (EE).
Docker CE itself comes in two versions: Edge, which contains the latest features being developed, and Stable, which is, well, more stable. Make sure to install the latter as we do not want any unexpected surprises getting in the way of your learning.
Read the following instructions for your OS and then install Docker.
macOS 
Docker provides a downloadable installer called Docker for Mac, which has everything you need in one neat package (it is currently a 115.6 MB download). Install this following the installation instructions.
Once installed, Docker for Mac ...