Skip to content

Instantly share code, notes, and snippets.

@sethbergman
Created November 21, 2015 18:00
Show Gist options
  • Save sethbergman/bb34cd3aed91a4e87a86 to your computer and use it in GitHub Desktop.
Save sethbergman/bb34cd3aed91a4e87a86 to your computer and use it in GitHub Desktop.
Install Docker on Linux Mint 17.3
##########################################
# To run:
# curl -sSL https://gist.githubusercontent.com/sethbergman/955f6ad392fff733a62c/raw/41c229998634df722cefdd589da121af624bf2ce/Install-Docker-on-Linux-Mint.sh | bash -x
##########################################
# Check that HTTPS transport is available to APT
if [ ! -e /usr/lib/apt/methods/https ]; then
sudo apt-get update
sudo apt-get install -y apt-transport-https
fi
# Add the repository to your APT sources
sudo echo deb https://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list
# Then import the repository key
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
# Install docker
sudo apt-get update
sudo apt-get install -y docker.io cgroup-lite apparmor
###############
# Alternatively, just use the curl-able install.sh script provided at https://get.docker.com
###############
echo Add group docker to current user
sudo usermod -a -G docker $USER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment