Skip to content

Instantly share code, notes, and snippets.

@ardyantohermawan
Last active September 6, 2016 13:12
Show Gist options
  • Save ardyantohermawan/c6d02718bf5f2e03752c7855442b64f1 to your computer and use it in GitHub Desktop.
Save ardyantohermawan/c6d02718bf5f2e03752c7855442b64f1 to your computer and use it in GitHub Desktop.
Install docker-engine on Ubuntu 14.04 LTS
#!/bin/bash
sudo apt-get update -y
sudo apt-get install -y apt-transport-https ca-certificates
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
sudo echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" > /etc/apt/sources.list.d/docker.list
sudo apt-get -y update
sudo apt-get -y install linux-image-extra-$(uname -r)
sudo apt-get -y update
sudo apt-get -y install apparmor apparmor-profiles apparmor-utils docker-engine
sudo service docker start
sudo groupadd docker
sudo usermod -aG docker vagrant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment