Skip to content

Instantly share code, notes, and snippets.

@maslick
Last active October 17, 2015 12:26
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 maslick/69291bd5ed649892fe1b to your computer and use it in GitHub Desktop.
Save maslick/69291bd5ed649892fe1b to your computer and use it in GitHub Desktop.
installing Docker 1.8 on a clean Ubuntu EC2 instance (with non-root access)
#!/bin/bash
sudo apt-get update
sudo apt-get install -y linux-image-generic-lts-trusty
wget -qO- https://get.docker.com/ | sh
sudo groupadd docker
sudo gpasswd -a ${USER} docker
sudo service docker restart
newgrp docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment