Skip to content

Instantly share code, notes, and snippets.

View viranch's full-sized avatar

Viranch Mehta viranch

View GitHub Profile
@viranch
viranch / build-docker.sh
Last active February 4, 2016 18:34
Build dynamic docker 1.7.0
# stop
docker stop `docker ps -q`
sudo service docker stop
# dependencies
sudo apt-get remove -qy lxc-docker && sudo apt-get autoremove -qy
sudo apt-get install -qy libdevmapper-dev golang-gosqlite-dev uuid-dev btrfs-tools git gcc --no-install-recommends
# golang
curl -sSL https://golang.org/dl/go1.4.2.linux-amd64.tar.gz | sudo tar -C /usr/local -xz