Files
docker-docs/docs/install.md
Mary Anthony e40fc02561 Testing with documentation tooling
Updating with changes
Updating for Hugo
Adding a README'
moving index.md compose-overview.md in links
changing overview
Updating image to pull

Signed-off-by: Mary Anthony <mary@docker.com>
2015-06-14 16:00:08 -07:00

1.8 KiB

Install Docker Compose

To install Compose, you'll need to install Docker first. You'll then install Compose with a curl command.

Install Docker

First, install Docker version 1.6 or greater:

Install Compose

To install Compose, run the following commands:

curl -L https://github.com/docker/compose/releases/download/1.2.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

Note: If you get a "Permission denied" error, your /usr/local/bin directory probably isn't writable and you'll need to install Compose as the superuser. Run sudo -i, then the two commands above, then exit.

Optionally, you can also install command completion for the bash shell.

Compose is available for OS X and 64-bit Linux. If you're on another platform, Compose can also be installed as a Python package:

$ sudo pip install -U docker-compose

No further steps are required; Compose should now be successfully installed. You can test the installation by running docker-compose --version.

Compose documentation