sudo apt-get purge docker-compose
sudo apt-get purge docker-ce
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
Download Docker .deb file:
curl -O https://download.docker.com/linux/ubuntu/dists/xenial/pool/edge/amd64/docker-ce_17.05.0~ce-0~ubuntu-xenial_amd64.deb
Install Docker:
sudo dpkg -i docker-ce_17.05.0~ce-0~ubuntu-xenial_amd64.deb
sudo curl -fSL http://github.com/docker/compose/releases/download/1.13.0/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
If you're getting the following error message:
That's because your OS does not ship with libltdl7 ( in my case Ubuntu 16.0.04 ) . You can install it with the following command;