Running the following command you'll get docker and docker-compose installed on your machine.
sudo curl -sS https://raw.githubusercontent.com/diogocavilha/docker-images/master/install.sh | sh
sudo curl -sS https://raw.githubusercontent.com/diogocavilha/docker-images/master/install-ubuntu.sh | sh