How to: Install Docker on OS X

By Rory Monaghan

SHARE

This how to guide is based on an install of Docker on macOS Sierra but the same steps should work on some of the earlier versions of OS X.

step1

 

For this blog post, I went with the stable release. You can download this from here: https://docs.docker.com/docker-for-mac/.

step2

 

Drag Docker into the Applications folder.

step3

 

Docker has now been installed! A lot easier than an Ubuntu install, eh!? Launch Docker.

step4

A pop-up will appear from the menu bar with tips. You can suppress this.

step5

 

Within a few seconds, you’ll see the status for Docker at the top of this menu turn to Docker is running.

step6

 

You can configure the setup or even uninstall or do a complete reset at any time.

step7

 

Open up the Terminal on your Mac, enter docker –version and it should return the version of Docker you are running.

Enter docker run hello-world and hit enter. A quick sample docker container will pull down and run. You are now ready to jump in, create containers and run whatever you damn well please!

Let's make virtualization easier!

Be amongst the first to know when I publish new reviews, guides and tools to simplify your projects.

By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.

We'll virtualise your 5 most complex apps for FREE