Skip to content

Instantly share code, notes, and snippets.

@Mattias-
Created March 17, 2017 17:05
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 Mattias-/1b60f9c9a2a2a05a9ef3c6c98eb4d876 to your computer and use it in GitHub Desktop.
Save Mattias-/1b60f9c9a2a2a05a9ef3c6c98eb4d876 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt-get update -y
apt-get upgrade -y
apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
software-properties-common \
docker-ce \
git \
htop
usermod -aG docker ubuntu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment