Skip to content

Commit

Permalink
Adjust docker run command for PWD with spaces.
Browse files Browse the repository at this point in the history
See #322
  • Loading branch information
GUI committed Jan 4, 2017
1 parent 84ff6e3 commit bdb6c10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ In this simple example, the API Umbrella configuration can be stored in the `con

```sh
$ mkdir config && touch config/api-umbrella.yml
$ docker run -d --name=api-umbrella -p 80:80 -p 443:443 -v $PWD/config:/etc/api-umbrella nrel/api-umbrella
$ docker run -d --name=api-umbrella -p 80:80 -p 443:443 -v "$(pwd)/config":/etc/api-umbrella nrel/api-umbrella
```

### Installing From Source Code
Expand Down
2 changes: 1 addition & 1 deletion website/source/install.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ header: Install
- [email protected]</pre>

<p>Start API Umbrella:</p>
<pre>$ docker run -d --name=api-umbrella -p 80:80 -p 443:443 -v config:/etc/api-umbrella nrel/api-umbrella</pre>
<pre>$ docker run -d --name=api-umbrella -p 80:80 -p 443:443 -v "$(pwd)/config":/etc/api-umbrella nrel/api-umbrella</pre>
</div>

<% packages.each do |id, distro| %>
Expand Down

0 comments on commit bdb6c10

Please sign in to comment.