mirror of https://github.com/docker/docs.git
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:
parent
fd94b9c2c4
commit
8d18aa553e
|
@ -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`.
|
||||
|
|
|
@ -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`.
|
||||
|
|
Loading…
Reference in New Issue