sudo apt-get remove docker docker-engine docker.io
sudo apt-get install \n apt-transport-https \n ca-certificates \n curl \n software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository \n "deb [arch=amd64] https://download.docker.com/linux/ubuntu \n $(lsb_release -cs) \n stable"
sudo nano /etc/apt/sources.list.d/additional-repositories.list
change besty to trusty
sudo apt-get update
sudo apt-get install docker-ce
docker-compose up -d
docker -v
sudo usermod -aG docker ${USER}
sudo groups $USER
sudo docker-compose up -d