Installing docker
If you're using linux you can install docker by doing the following:
ubuntu
apt-get install docker.io
sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker
Fedora
yum -y install docker-io
Mac OSX
Install the docker toolbox
Windows
Also has a tool box but I've never used it.
Docker Cheatsheet
https://github.com/wsargent/docker-cheat-sheet