compose/docs/install.md
Ben Firshman 4d1b2f1547 Ship 1.0.0
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-10-16 16:27:13 +01:00

1 KiB
Raw Blame History

layout title
default Installing Fig

Installing Fig

First, install Docker version 1.3 or greater.

If you're on OS X, you can use the OS X installer. You'll also need to set an environment variable to point at the Boot2Docker virtual machine:

$ export DOCKER_HOST=tcp://`boot2docker ip`:2375

If you want this to persist across shell sessions, you can add it to your ~/.bashrc file.

There are also guides for Ubuntu and other platforms in Dockers documentation.

Next, install Fig:

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

Releases are available for OS X and 64-bit Linux. 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.