Skip to content

Instantly share code, notes, and snippets.

View johannestang's full-sized avatar

Johannes Tang Kristensen johannestang

View GitHub Profile
@johannestang
johannestang / docker-on-ubuntu1804.sh
Created January 19, 2019 09:41
Setup Docker on Ubuntu 18.04
sudo apt install apt-transport-https 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 install docker-ce
sudo gpasswd -a `whoami` docker
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