Skip to content

Instantly share code, notes, and snippets.

@russmckendrick
Created November 1, 2014 14:53
Show Gist options
  • Save russmckendrick/c5c35b6aeb04d68107ad to your computer and use it in GitHub Desktop.
Save russmckendrick/c5c35b6aeb04d68107ad to your computer and use it in GitHub Desktop.
Installation of Docker + Fig on CentOS 7

Install the latest Docker + Fig

curl -L https://get.docker.com/builds/Linux/x86_64/docker-latest > /usr/bin/docker; chmod +x /usr/bin/docker
curl -L https://raw.githubusercontent.com/docker/docker/master/contrib/init/systemd/docker.service > /usr/lib/systemd/system/docker.service
curl -L https://raw.githubusercontent.com/docker/docker/master/contrib/init/systemd/docker.socket > /usr/lib/systemd/system/docker.socket
curl -L https://github.com/docker/fig/releases/download/1.0.0/fig-`uname -s`-`uname -m` > /usr/local/bin/fig; chmod +x /usr/local/bin/fig
systemctl enable docker
systemctl start docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment