From 9093e0a4546204e883fcfe80aa592b11598fad47 Mon Sep 17 00:00:00 2001 From: Morten Hekkvang Date: Fri, 20 Jan 2017 11:35:30 +0100 Subject: [PATCH] Adding a dash at the end of `apt-key add` command The dash at the end of the `apt-key add` command is important as it will otherwise expect to read from a file, and not `stdin` --- 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 08e8df7f3b..86e86585ea 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 -fsSL https://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 3683b0cd38..4045dcbf45 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 -fsSL https://yum.dockerproject.org/gpg | sudo apt-key add - ``` > **Note**: The URL is correct, even for Linux distributions that use `APT`.