Add yum-utils to installation instructions

The yum-utils package is not installed by default
on some cloud providers, causing the
`yum-config-manager --add-repo` step to fail.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2017-01-20 13:59:29 +01:00
parent f7115867f1
commit 2dfaf2c4e4
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
2 changed files with 16 additions and 4 deletions

View File

@ -54,7 +54,13 @@ Docker from the repository.
#### Set up the repository
1. Use the following command to set up the **stable** repository:
1. Install `yum-utils`, which provides the `yum-config-manager` utility:
```bash
$ sudo yum install -y yum-utils
```
2. Use the following command to set up the **stable** repository:
```bash
$ sudo yum-config-manager \
@ -62,7 +68,7 @@ Docker from the repository.
https://docs.docker.com/engine/installation/linux/repo_files/centos/docker.repo
```
2. **Optional**: Enable the **testing** repository. This repository is included
3. **Optional**: Enable the **testing** repository. This repository is included
in the `docker.repo` file above but is disabled by default. You can enable
it alongside the stable repository. Do not use unstable repositories on
on production systems or for non-testing workloads.

View File

@ -55,7 +55,13 @@ Docker from the repository.
#### Set up the repository
1. Use the following command to set up the **stable** repository:
1. Install `yum-utils`, which provides the `yum-config-manager` utility:
```bash
$ sudo yum install -y yum-utils
```
2. Use the following command to set up the **stable** repository:
```bash
$ sudo yum-config-manager \
@ -65,7 +71,7 @@ Docker from the repository.
> **Note**: The link above is correct for RHEL as well as CentOS.
2. **Optional**: Enable the **testing** repository. This repository is included
3. **Optional**: Enable the **testing** repository. This repository is included
in the `docker.repo` file above but is disabled by default. You can enable
it alongside the stable repository. Do not use unstable repositories on
on production systems or for non-testing workloads.