Skip to content

Instantly share code, notes, and snippets.

@jonseymour
Last active August 29, 2015 14:24
Show Gist options
  • Save jonseymour/5deadbdf8855370f673e to your computer and use it in GitHub Desktop.
Save jonseymour/5deadbdf8855370f673e to your computer and use it in GitHub Desktop.
Setup of Docker VM on AGL PC

Windows machine setup

  1. request local administrator rights
  2. install Virtual Box 4.3.28 on Windows machine (http://download.virtualbox.org/virtualbox/4.3.28/VirtualBox-4.3.28-100309-Win.exe)
  3. Download Ubuntu 15.04 iso (http://www.ubuntu.com/download/desktop)
  4. Create VM with 128GB virtual disk
  5. Install ubuntu into VM. Select LVM.
  6. Install guest additions into VM
  7. bridge the network of the VM to the WiFi adapter.
  8. install docker (https://docs.docker.com/installation/ubuntulinux/)
     wget -qO- https://get.docker.com/ | sh
     sudo usermod -aG docker $(whoami)
  1. install packages:
     apt-get install curl openssh-server mercurial
  1. install docker-machine (https://docs.docker.com/machine/)
     sudo su - root
     curl -L https://github.com/docker/machine/releases/download/v0.3.0/docker-machine_darwin-amd64 > /usr/local/bin/docker-machine
     chmod +x /usr/local/bin/docker-machine 
  1. install docker-compose (https://docs.docker.com/compose/install/)
     curl -L https://github.com/docker/compose/releases/download/1.3.1/docker-compose-$(uname -s)-$(uname -m) > /usr/local/bin/docker-compose
     chmod +x /usr/local/bin/docker-compose
  1. download and install go
     cd ~/Downloads
     wget https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz
     gzip -dc go1.4.2.linux-amd64.tar.gz | sudo tar -C /usr/local -xvf -
  1. update /etc/profile.d/go.sh
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin
  1. generate an ssh key pair
ssh-keygen
  1. install the key pair in github

#REVISIONS ##1.1

  • updated step 9 to add additional packages mercurial openssh-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment