From 2cb3fadb3bcfc2fa072bdcebf2fbfbfc6aeaf81e Mon Sep 17 00:00:00 2001 From: Derrick Miller Date: Thu, 26 Jul 2018 09:49:07 -0400 Subject: [PATCH] Update suse.md In the **Install using the repository** section, the GPG implied location was identified as `/sles/12.3//stable-/sles/gpg` which does not exist. The correct location is `/sles/gpg`. I introduce a second variable here called `DOCKER_EE_BASE_URL` which will be used to distinguish between the root level of the directory and aid in correctly locating the gpg key for the `rpm --import` command. --- install/linux/docker-ee/suse.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/install/linux/docker-ee/suse.md b/install/linux/docker-ee/suse.md index b79ce16475..012b631763 100644 --- a/install/linux/docker-ee/suse.md +++ b/install/linux/docker-ee/suse.md @@ -172,12 +172,13 @@ Engine, UCP, and DTR). #### Set up the repository -1. Temporarily add a `$DOCKER_EE_URL` variable into your environment. This +1. Temporarily add the `$DOCKER_EE_BASE_URL` and `$DOCKER_EE_URL` variables into your environment. This only persists until you log out of the session. Replace `` - with the URL you noted down in the [prerequisites](#prerequisites). + listed below with the URL you noted down in the [prerequisites](#prerequisites). ```bash - $ DOCKER_EE_URL="/sles/12.3//stable-" + $ DOCKER_EE_BASE_URL="" + $ DOCKER_EE_URL="${DOCKER_EE_BASE_URL}/sles/12.3//stable-" ``` Where: @@ -188,6 +189,7 @@ Engine, UCP, and DTR). As an example your command should look like: ```bash + DOCKER_EE_BASE_URL="https://storebits.docker.com/ee/sles/sub-555-55-555" DOCKER_EE_URL="https://storebits.docker.com/ee/sles/sub-555-55-555/sles/12.3/x86_64/stable-17.06" ``` @@ -203,7 +205,7 @@ Engine, UCP, and DTR). because of the variable you set earlier. ```bash - $ sudo rpm --import "${DOCKER_EE_URL}/sles/gpg" + $ sudo rpm --import "${DOCKER_EE_BASE_URL}/sles/gpg" ``` #### Install Docker EE