• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to install Docker on Mac

by admin

Installing Docker on Mac is pretty straightforward. It has a Graphical installer .dmg file. The installation provides Docker Engine, Docker CLI client, Docker Compose, Docker Machine, and Kitematic.

Pre-requisites for installing Docker on Mac

1. Docker requires OS X El Capitan 10.11 or newer macOS release running on a 2010 or newer Mac.
2. At least 4GB of RAM in the system.

Installing Docker on Mac

1. Download Docker for mac from the url : https://download.docker.com/mac/stable/Docker.dmg

2. Click on the Docker.dmg file you have just downloaded to mount the image and open the installer.

Docker installation on Mac

3. Drag and drop the Docker.app file into the Applications directory. Once you have dragged the Docker icon to your Applications folder, double-click on it and you will be asked whether you want to open the application you have downloaded. Saying yes will open the Docker installer:

Docker installer for mac

5. Click next on the installer screen and follow the instructions in the installer.

docker installation on Mac OS

6. Once installed you would see an Icon in top-right icon bar.

docker icon right top icon bar mac os

7. Click the icon in the icon bar to check “About Docker” page.

about docker Mac OS

8. You can also open a terminal and run below command to get information on the installed docker.

$ docker version

9. To check if Docker machine and Docker Compose are installed as well, use the command below.

$ docker-compose version
$ docker-machine version
How to install docker on CentOS / RHEL / Fedora

Filed Under: DevOps, Docker

Some more articles you might also be interested in …

  1. How to Find and Delete Empty Directories and Files in Linux
  2. How to Build and push Docker Image to the Docker Hub Repository
  3. Python Quadratic Formula
  4. 6 Bash Shell Command Line Chaining Operators in Linux
  5. How to add new host entry in /etc/hosts when a docker container is run
  6. How to create Docker Image from a Container and Dockerfile
  7. How to add header and trailer line to a file in Linux
  8. How to List / Search / Pull docker images on Linux
  9. How to Access Docker Container’s Network Namespace from Host
  10. Docker Troubleshooting – “conflict: unable to delete, image is being used by running container”

You May Also Like

Primary Sidebar

Recent Posts

  • powertop Command Examples in Linux
  • powertop: command not found
  • powerstat: command not found
  • powerstat Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright