Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Docker CE 17.05 and Compose 1.13.0

Installing Docker CE Edge for Ubuntu Linux

Remove previous versions of Docker and Compose

sudo apt-get purge docker-compose
sudo apt-get purge docker-ce

Install dependencies

sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    software-properties-common

Install Docker

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

Install Compose

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
@menzow
Copy link

menzow commented Jul 12, 2018

If you're getting the following error message:

$ sudo dpkg -i docker-ce_17.05.0~ce-0~ubuntu-xenial_amd64.deb
The following packages have unmet dependencies:
 docker-ce : Depends: libltdl7 (>= 2.4.6) but it is not going to be installed

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;

$ sudo apt-get install -y libltdl7

@eugene-bright
Copy link

eugene-bright commented Sep 20, 2018

Just install any dpkg with next receipt:

sudo dpkg --force-all -i docker-ce_17.05.0~ce-0~ubuntu-xenial_amd64.deb
sudo apt install -f

dpkg will install package without dependencies and apt will try to fix them later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment