From 8d18aa553e8e1642df8c82eb4bf9118c92a40e5e Mon Sep 17 00:00:00 2001 From: nafg Date: Fri, 20 Jan 2017 02:54:45 -0500 Subject: [PATCH] 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` --- engine/installation/linux/debian.md | 2 +- engine/installation/linux/ubuntu.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/installation/linux/debian.md b/engine/installation/linux/debian.md index 8b840c2d27..08e8df7f3b 100644 --- a/engine/installation/linux/debian.md +++ b/engine/installation/linux/debian.md @@ -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`. diff --git a/engine/installation/linux/ubuntu.md b/engine/installation/linux/ubuntu.md index 04bdc568cf..3683b0cd38 100644 --- a/engine/installation/linux/ubuntu.md +++ b/engine/installation/linux/ubuntu.md @@ -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`.