Last active
August 29, 2015 14:08
-
-
Save olibob/5e0ba6fc2fca8630de82 to your computer and use it in GitHub Desktop.
Docker binary install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# Install latest docker binary | |
cd /tmp | |
wget -c http://get.docker.io/builds/Linux/x86_64/docker-latest.tgz | |
tar xzf /tmp/docker-latest.tgz -C / | |
# Install docker service | |
# Download the required files from https://github.com/docker/docker/tree/master/contrib/init/systemd to your Vagrant directory | |
SERVICE_DIR="/etc/systemd/system" | |
cp /vagrant/docker.service $SERVICE_DIR | |
chmod +x $SERVICE_DIR/docker.service | |
cp /vagrant/docker.socket $SERVICE_DIR | |
systemctl enable docker.service | |
systemctl start docker.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment