compose/docs/install.md
Ben Firshman 63bd05d40e Collapse install instructions into single line
For maximum copy and paste happiness

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-08-18 13:36:37 -07:00

1.0 KiB

layout title
default Installing Fig

Installing Fig

First, install Docker version 1.0 or greater. If you're on OS X, you can use docker-osx:

$ curl https://raw.githubusercontent.com/noplay/docker-osx/1.1.1/docker-osx > /usr/local/bin/docker-osx
$ chmod +x /usr/local/bin/docker-osx
$ docker-osx shell

Docker has guides for Ubuntu and other platforms in their documentation.

Next, install Fig. On OS X:

curl -L https://github.com/docker/fig/releases/download/0.5.2/darwin > /usr/local/bin/fig; chmod +x /usr/local/bin/fig

On 64-bit Linux:

curl -L https://github.com/docker/fig/releases/download/0.5.2/linux > /usr/local/bin/fig; chmod +x /usr/local/bin/fig

Fig is also available as a Python package if you're on another platform (or if you prefer that sort of thing):

$ sudo pip install -U fig

That should be all you need! Run fig --version to see if it worked.