Install Docker CE in macOS Mojave

Yunan Helmy
2 min readJun 12, 2019

--

Docker installation

What is Docker?

In order to know Docker we need to know what is Container.

Container is a standard unit of software that packages our application, all of its dependencies, and everything needed to run our code into single computing environment.

Docker is an independent container platform that enables you to seamlessly build, share and run any application, anywhere — from hybrid cloud to the edge. It is similar to virtual machine but more lightweight.

Install Docker

The Docker CE installation is available for macOS.

  1. We need to have a DockerHub account in order to download it. Create one here.
  2. After you logged into your account, you could download Docker Desktop for macOS. Download it now! It might take some time to finish.
  3. After that you could double click the installer Docker.dmg . Drag and drop the icon like usual installation.
  4. When the installation completes you could run the Docker from your menu. Docker will try to ask your permission to run.
  5. Hang on for a moment until Docker Engine is running. When it is running, we could see a whale icon in a status bar.
  6. Sign in with your Docker Hub account.
  7. Enjoy! You have successfully installed Docker into your macOS.
[6] Sign in to Docker Hub

You could also check the version of Docker from terminal by typing docker version . Don’t forget to make sure that Docker is able to pull images and running as expected by executing command docker run hello-world .

Example running docker version command

That’s it. Quite simple installation.

See you soon in another story!

--

--