Installing Docker for Mac is super easy. It is a simple as downloading and copying the program to the application folder.
To download Docker for Mac visit the docker site:
Please download the stable release.
Simply Drag and Drop the Docker icon to the Application folder. It is that easy to install Docker on the Mac.
Launch Docker from the applications folder. Since this is the first time you are invoking Docker, you will get the standard message about Docker being an “… application downloaded from the Internet. Are you sure that you want to open it?” Click on the Open button.
At the Welcome screen, click on the Next button
Click on the OK button to allow for privileged access.
You will be asked to provide your password. Enter your password to finish the installation process. Now, you will see docker on your task bar on top of the screen.
Optionally un-select the Send diagnostics & usage data check box; click on “Got it” button to complete the installation.
Now from any terminal, type the following commands:
Dobbys-MacBook-Pro:~ Dobby$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES Dobbys-MacBook-Pro:~ Dobby$ docker info Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 0 Server Version: 1.12.3 Storage Driver: aufs Root Dir: /var/lib/docker/aufs Backing Filesystem: extfs Dirs: 0 Dirperm1 Supported: true Logging Driver: json-file Cgroup Driver: cgroupfs Plugins: Volume: local Network: null host bridge overlay Swarm: inactive Runtimes: runc Default Runtime: runc Security Options: seccomp Kernel Version: 4.4.27-moby Operating System: Alpine Linux v3.4 OSType: linux Architecture: x86_64 CPUs: 4 Total Memory: 1.951 GiB Name: moby ID: YGJ4:TIP6:KYX5:EK5X:REV3:3KEL:O3AP:6UIF:2DGX:YYDR:OGCX:QOSY Docker Root Dir: /var/lib/docker Debug Mode (client): false Debug Mode (server): true File Descriptors: 15 Goroutines: 27 System Time: 2016-11-19T15:45:11.894167372Z EventsListeners: 1 No Proxy: *.local, 169.254/16 Registry: https://index.docker.io/v1/ WARNING: No kernel memory limit support Insecure Registries: 127.0.0.0/8
Next, click on the Docker logo on the top status bar and select Preferences. Move the memory indicator to 4GB or more and click the restart button at the button of the screen.