Skip to content

Instantly share code, notes, and snippets.

@woozyking
Created October 22, 2013 05:14
Show Gist options
  • Save woozyking/7095552 to your computer and use it in GitHub Desktop.
Save woozyking/7095552 to your computer and use it in GitHub Desktop.
Ubuntu Docker Dev Env
#!/bin/bash
# First step we update and upgrade
sudo apt-get update && sudo apt-get upgrade -y
# Second step install git as it's almost always needed nowadays
sudo apt-get install git -y
(cd /tmp && git clone --depth 1 https://github.com/visionmedia/git-extras.git && cd git-extras && sudo make install)
# For Docker
sudo apt-get install linux-image-extra-`uname -r`
sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -"
sudo sh -c "echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
sudo apt-get update
sudo apt-get install lxc-docker -y
# TODO: MongoDB and Redis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment