Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the --fail to curl commands when installing compose #2817

Merged
merged 2 commits into from
Apr 18, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
move --fail to the beginning of the command for readability
  • Loading branch information
shubheksha committed Apr 18, 2017
commit 6bab902047d1ea6a9acd1052a6c390639e4a8a2b
4 changes: 2 additions & 2 deletions compose/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ To install Compose, do the following:
The following is an example command illustrating the format:

```bash
$ curl -L "https://github.com/docker/compose/releases/download/1.11.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose --fail
$ curl -L --fail "https://github.com/docker/compose/releases/download/1.11.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
```

If you have problems installing with `curl`, see
Expand Down Expand Up @@ -80,7 +80,7 @@ Compose can also be run inside a container, from a small bash script wrapper.
To install compose as a container run:

```bash
$ curl -L https://github.com/docker/compose/releases/download/1.11.2/run.sh > /usr/local/bin/docker-compose --fail
$ curl -L --fail https://github.com/docker/compose/releases/download/1.11.2/run.sh > /usr/local/bin/docker-compose
$ chmod +x /usr/local/bin/docker-compose
```

Expand Down