Installing Docker

Mac OS X

First, install Docker Toolbox.

Then, in a terminal run:

$ docker-machine create -d virtualbox --virtualbox-memory 2048 dev # Create & Start a VM using VirtualBox
$ eval "$(docker-machine env dev)"                                 # Setup shell

Linux

  • Use the official installation shell script: curl -sSL https://get.docker.com/ | sh
    • To see what the script does, view https://get.docker.com/
    • Most distros have a much-too-old version of Docker in their package repositories - using this script should give us the latest

Confirming Successful Installation

To confirm Docker is working properly run docker info.