Skip to content

Instantly share code, notes, and snippets.

@g3r4
Created November 11, 2019 02:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save g3r4/43c3dc35b0b532c3cbac278eb0e96be1 to your computer and use it in GitHub Desktop.
Save g3r4/43c3dc35b0b532c3cbac278eb0e96be1 to your computer and use it in GitHub Desktop.
Install Docker-ce on Elementary OS Juno
#!/bin/bash
set -e
##########################################################
# Install script for Docker-CE on ElementaryOS Juno
# Had to update the repository to point to bionic instead
# of using 'lsb_release -cs' because there's no juno
# repository at download.docker.com.
##########################################################
sudo apt-get update;
sudo apt-get 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-get update;
sudo apt-get install docker-ce;
sudo systemctl enable docker;
sudo usermod -a -G docker $USER;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment