Fix EE upgrade instructions (#4242)

This commit is contained in:
Misty Stanley-Jones 2017-08-17 13:44:58 -07:00 committed by GitHub
parent 8e75de2ab1
commit c563733b76
5 changed files with 60 additions and 20 deletions

View File

@ -199,9 +199,17 @@ configuration steps.
#### Upgrade Docker EE
To upgrade Docker EE, first run `sudo yum makecache fast`, then follow the
[installation instructions](#install-docker), choosing the new version you want
to install.
To upgrade Docker EE:
1. If upgrading to a new major Docker EE version (such as when going from
Docker 17.03.x to Docker 17.06.x),
[add the new repository](#set-up-the-repository){: target="_blank" class="_" }.
2. Run `sudo yum makecache fast`.
3. Follow the
[installation instructions](#install-docker), choosing the new version you want
to install.
### Install from a package

View File

@ -7,6 +7,8 @@ redirect_from:
title: Get Docker EE for Oracle Linux
---
{% assign minor-version = "17.06" %}
To get started with Docker EE on Oracle Linux, make sure you
[meet the prerequisites](#prerequisites), then
[install Docker](#install-docker-ee).
@ -136,8 +138,6 @@ from the repository.
> **Note**: This `yum list` command only shows binary packages. To show
> source packages as well, omit the `.x86_64` from the package name.
{% assign minor-version = "17.03" %}
```bash
$ yum list docker-ee.x86_64 --showduplicates | sort -r
@ -192,9 +192,17 @@ steps.
#### Upgrade Docker EE
To upgrade Docker EE, first run `sudo yum makecache fast`, then follow the
[installation instructions](#install-docker), choosing the new version you want
to install.
To upgrade Docker EE:
1. If upgrading to a new major Docker EE version (such as when going from
Docker 17.03.x to Docker 17.06.x),
[add the new repository](#set-up-the-repository){: target="_blank" class="_" }.
2. Run `sudo yum makecache fast`.
3. Follow the
[installation instructions](#install-docker), choosing the new version you want
to install.
### Install from a package

View File

@ -8,6 +8,8 @@ redirect_from:
title: Get Docker EE for Red Hat Enterprise Linux
---
{% assign minor-version = "17.06" %}
To get started with Docker EE on Red Hat Enterprise Linux (RHEL), make sure you
[meet the prerequisites](#prerequisites), then
[install Docker](#install-docker-ee).
@ -177,8 +179,6 @@ from the repository.
> **Note**: This `yum list` command only shows binary packages. To show
> source packages as well, omit the `.x86_64` from the package name.
{% assign minor-version = "17.03" %}
```bash
$ yum list docker-ee.x86_64 --showduplicates | sort -r
@ -234,9 +234,17 @@ steps.
#### Upgrade Docker EE
To upgrade Docker EE, first run `sudo yum makecache fast`, then follow the
[installation instructions](#install-docker), choosing the new version you want
to install.
To upgrade Docker EE:
1. If upgrading to a new major Docker EE version (such as when going from
Docker 17.03.x to Docker 17.06.x),
[add the new repository](#set-up-the-repository){: target="_blank" class="_" }.
2. Run `sudo yum makecache fast`.
3. Follow the
[installation instructions](#install-docker), choosing the new version you want
to install.
### Install from a package

View File

@ -222,9 +222,17 @@ other optional configuration steps.
#### Upgrade Docker EE
To upgrade Docker EE, first run `sudo zypper refresh`, then follow the
[installation instructions](#install-docker), choosing the new version you want
to install.
To upgrade Docker EE:
1. If upgrading to a new major Docker EE version (such as when going from
Docker 17.03.x to Docker 17.06.x),
[add the new repository](#set-up-the-repository){: target="_blank" class="_" }.
2. Run `sudo zypper refresh`.
3. Follow the
[installation instructions](#install-docker), choosing the new version you want
to install.
### Install from a package

View File

@ -152,7 +152,7 @@ from the repository.
$ sudo add-apt-repository \
"deb [arch=s390x] {{ download-url-base }} \
$(lsb_release -cs) \
stable"
stable-{{ minor-version }}"
```
#### Install Docker EE
@ -219,9 +219,17 @@ steps.
#### Upgrade Docker EE
To upgrade Docker EE, first run `sudo apt-get update`, then follow the
[installation instructions](#install-docker), choosing the new version you want
to install.
To upgrade Docker EE:
1. If upgrading to a new major Docker EE version (such as when going from
Docker 17.03.x to Docker 17.06.x),
[add the new repository](#set-up-the-repository){: target="_blank" class="_" }.
2. Run `sudo apt-get update`.
3. Follow the
[installation instructions](#install-docker), choosing the new version you want
to install.
### Install from a package