Corrections to ubuntu install docs, based on attempting to install on Wily

The apt repo layout seems wrong, it only worked after the proposed change.

Also apt-key seems to need `-` to look at stdin; otherwise I got `gpg: can't open `': No such file or directory`
This commit is contained in:
nafg 2017-01-20 02:54:45 -05:00 committed by Misty Stanley-Jones
parent fd94b9c2c4
commit 8d18aa553e
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ Docker from the repository.
2. Add Docker's official GPG key:
```bash
$ curl -s http://yum.dockerproject.org/gpg | sudo apt-key add
$ curl -s http://yum.dockerproject.org/gpg | sudo apt-key add -
```
> **Note**: The URL is correct, even for Linux distributions that use `APT`.

View File

@ -71,7 +71,7 @@ Docker from the repository.
2. Add Docker's official GPG key:
```bash
$ curl -s http://yum.dockerproject.org/gpg | sudo apt-key add
$ curl -s http://yum.dockerproject.org/gpg | sudo apt-key add -
```
> **Note**: The URL is correct, even for Linux distributions that use `APT`.