Install Docker CE in macOS Mojave
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.
- We need to have a DockerHub account in order to download it. Create one here.
- After you logged into your account, you could download Docker Desktop for macOS. Download it now! It might take some time to finish.
- After that you could double click the installer
Docker.dmg
. Drag and drop the icon like usual installation. - When the installation completes you could run the Docker from your menu. Docker will try to ask your permission to run.
- Hang on for a moment until Docker Engine is running. When it is running, we could see a whale icon in a status bar.
- Sign in with your Docker Hub account.
- Enjoy! You have successfully installed Docker into your macOS.
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
.
That’s it. Quite simple installation.
See you soon in another story!