Docker CE macOS
Docker CE for Mac is an easy-to-install desktop app for building, debugging, and testing Dockerized apps on a Mac. Docker for Mac is a complete development environment deeply integrated with the Mac OS Hypervisor framework, networking, and filesystem. Docker for Mac is the fastest and most reliable way to run Docker on a Mac.
When the installation completes and Docker starts, the whale in the top status bar shows that Docker is running, and accessible from a terminal.

Run it
Open a command-line terminal (I’m using Iterm-2), we’ll try some Docker command
Run docker version
to check that you have the latest release installed.
Run docker run hello-world
to verify that Docker is pulling images and running as expected.
To learn more, read the Docker for Mac documentation