Add the missing instruction to add the repo

This change is only affecting the RHEL 7/8 portion of the doc.
This commit is contained in:
Rupak Ganguly 2019-11-19 15:07:02 -05:00 committed by GitHub
parent dcc29a413f
commit 7f62d13fce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions

View File

@ -118,6 +118,15 @@ You only need to set up the repository once, after which you can install Docker
```bash
$ sudo yum-config-manager --enable rhui-rhel-7-server-rhui-extras-rpms
```
6. Add the Docker Engine - Enterprise **stable** repository:
```bash
$ sudo -E yum-config-manager \
--add-repo \
"$DOCKERURL/{{ linux-dist-url-slug }}/docker-ee.repo"
```
</div>
<div id="RHEL_8" class="tab-pane fade" markdown="1">
1. Remove existing Docker repositories from `/etc/yum.repos.d/`:
@ -152,6 +161,15 @@ You only need to set up the repository once, after which you can install Docker
device-mapper-persistent-data \
lvm2
```
5. Add the Docker Engine - Enterprise **stable** repository:
```bash
$ sudo -E yum-config-manager \
--add-repo \
"$DOCKERURL/{{ linux-dist-url-slug }}/docker-ee.repo"
```
</div>
</div>
{% endif %}