issue this to install docker on ubuntu for your development boxes
curl -sSL https://get.docker.com/ | sh -y
if you want very latest dev release then issue
curl -fsSL https://test.docker.com/ | sh
when running either of above you will notice this walks through the same steps as listed in canonical docker install doc https://docs.docker.com/engine/installation/linux/ubuntulinux/ which is very handy when installing docker on remote servers and should be used for production boxes