Docker Basics : Install Docker


To install Docker v1.6.2 on Mac OS 10.7.5 and play with start, stop and restart commands.


Step 1

Go to

Step 2

Download Boot2Docker-1.6.2.pkg file. Install it.

Step 3

Click on the boot2docker in the Applications folder. You will get the error:

FATA[0000] Error response from daemon: client and server don't have same version (client : 1.18, server: 1.12)

Step 4

Run :

boot2docker stop
boot2docker download
boot2docker up

Step 5

export DOCKER_CERT_PATH=/Users/zepho/.boot2docker/certs/boot2docker-vm
export DOCKER_HOST=tcp://

Step 6

Start the Docker daemon:

boot2docker start

Step 7

Stop the Docker daemon:

boot2docker stop

Step 8

Restart the Docker daemon:

boot2docker restart


In this article, you installed the Docker and learned how to start, stop and restart the Docker daemon.

Related Articles

Ace the Technical Interview

  • Easily find the gaps in your knowledge
  • Get customized lessons based on where you are
  • Take consistent action everyday
  • Builtin accountability to keep you on track
  • You will solve bigger problems over time
  • Get the job of your dreams

Take the 30 Day Coding Skills Challenge

Gain confidence to attend the interview

No spam ever. Unsubscribe anytime.