compose/docs/install.md
Ben Firshman c16f4d4041 Recommend boot2docker in installation instructions
Fixes #26

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2014-10-06 13:14:12 +01:00

1.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. 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.