Skip to content

Instantly share code, notes, and snippets.

@arjus
Created December 30, 2018 21:05
Show Gist options
  • Save arjus/1075250126d9b4fae6a4f10f16ccdfd3 to your computer and use it in GitHub Desktop.
Save arjus/1075250126d9b4fae6a4f10f16ccdfd3 to your computer and use it in GitHub Desktop.
Docker Ce and docker compose installation on Ubuntu 18.04 LTS
#Docker installation commands on Ubuntu 18.04 LTS
#Docker Ce
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update
sudo apt instal docker-ce
#Docker compose
sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment