Skip to content

Instantly share code, notes, and snippets.

@thaleshcv
Created January 4, 2018 14:48
Show Gist options
  • Save thaleshcv/502cfee7b5e6de50f801efa5aa0e07ed to your computer and use it in GitHub Desktop.
Save thaleshcv/502cfee7b5e6de50f801efa5aa0e07ed to your computer and use it in GitHub Desktop.
#! /bin/bash
# install docker-ce on linux mint 18 "Sarah"
# prepare
sudo apt-get remove docker docker-ce docker-engine docker.io
# download
wget https://download.docker.com/linux/ubuntu/dists/xenial/pool/stable/amd64/docker-ce_17.12.0~ce-0~ubuntu_amd64.deb
# install
sudo dpkg -i docker-ce_17.12.0~ce-0~ubuntu_amd64.deb
sudo docker run hello-world
# setup
sudo groupadd docker
sudo usermod -aG docker $USER
sudo systemctl enable docker
sudo service docker restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment