Skip to content

Instantly share code, notes, and snippets.

@devthue
Last active July 26, 2017 10:34
Show Gist options
  • Save devthue/926e0b9f966dc574541e49757cc6a4b7 to your computer and use it in GitHub Desktop.
Save devthue/926e0b9f966dc574541e49757cc6a4b7 to your computer and use it in GitHub Desktop.
Install Docker ubuntu 16.04

Install docker for ubuntu 16.04

apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
apt-get install software-properties-common
apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main'
apt-get update
apt-cache policy docker-engine
systemctl status docker
apt-get install docker-engine

Jenkins

usermod -a -G docker jenkins
chown -R jenkins /var/run/docker.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment