mirror of
https://github.com/docker/docs.git
synced 2026-04-03 09:49:05 +07:00
Update suse.md
In the **Install using the repository** section, the GPG implied location was identified as `<DOCKER-EE-URL>/sles/12.3/<ARCHITECTURE>/stable-<VERSION>/sles/gpg` which does not exist. The correct location is `<DOCKER-EE-URL>/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.
This commit is contained in:
@@ -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 `<DOCKER-EE-URL>`
|
||||
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="<DOCKER-EE-URL>/sles/12.3/<ARCHITECTURE>/stable-<VERSION>"
|
||||
$ DOCKER_EE_BASE_URL="<DOCKER-EE-URL>"
|
||||
$ DOCKER_EE_URL="${DOCKER_EE_BASE_URL}/sles/12.3/<ARCHITECTURE>/stable-<VERSION>"
|
||||
```
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user