Merge pull request #508 from bfirsh/recommend-boot2docker-in-install-instructions

Recommend boot2docker in installation instructions
This commit is contained in:
Aanand Prasad 2014-10-06 13:44:23 +01:00
commit a5aac7d59e
1 changed files with 7 additions and 5 deletions

View File

@ -6,13 +6,15 @@ title: Installing Fig
Installing Fig
==============
First, install Docker version 1.0 or greater. If you're on OS X, you can use [docker-osx](https://github.com/noplay/docker-osx):
First, install Docker version 1.3 or greater.
$ 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
If you're on OS X, you can use the [OS X installer](https://docs.docker.com/installation/mac/). You'll also need to set an environment variable to point at the Boot2Docker virtual machine:
Docker has guides for [Ubuntu](http://docs.docker.io/en/latest/installation/ubuntulinux/) and [other platforms](http://docs.docker.io/en/latest/installation/) in their documentation.
$ 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](https://docs.docker.com/installation/ubuntulinux/) and [other platforms](https://docs.docker.com/installation/) in Dockers documentation.
Next, install Fig: