Skip to content

Instantly share code, notes, and snippets.

@spara
Last active August 9, 2023 09:04
Show Gist options
  • Star 20 You must be signed in to star a gist
  • Fork 10 You must be signed in to fork a gist
  • Save spara/400c0e8e156bb985de7f85910cd44e7e to your computer and use it in GitHub Desktop.
Save spara/400c0e8e156bb985de7f85910cd44e7e to your computer and use it in GitHub Desktop.
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
@eugene-bright
Copy link

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