Merge pull request #7649 from docker/install-version-update-878

Updated install versions to 18.09
This commit is contained in:
Anne Henmi 2018-11-13 10:01:01 -07:00 committed by GitHub
commit 282fb8ff5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 34 deletions

View File

@ -137,20 +137,12 @@ You only need to set up the repository once, after which you can install Docker
{% elsif section == "install-using-yum-repo" %} {% elsif section == "install-using-yum-repo" %}
There are currently two versions of Docker EE Engine available: > ***NOTE:*** If you need to run Docker EE 2.0, please see the following instructions:
> * [18.03](https://docs.docker.com/v18.03/ee/supported-platforms/) - Older Docker EE Engine only release
> * [17.06](https://docs.docker.com/v17.06/engine/installation/) - Docker Enterprise Edition 2.0 (Docker Engine,
> UCP, and DTR).
* 18.03 - Use this version if you're only running Docker EE Engine. 1. Install the latest patch release, or go to the next step to install a specific version:
* 17.06 - Use this version if you're using Docker Enterprise Edition 2.0 (Docker
Engine, UCP, and DTR).
1. By default, Docker EE Engine 17.06 is installed. If you want to install the
18.03 version run:
```bash
sudo yum-config-manager --enable docker-ee-stable-18.03
```
2. Install the latest patch release, or go to the next step to install a specific version:
```bash ```bash
$ sudo yum -y install docker-ee $ sudo yum -y install docker-ee
@ -158,27 +150,34 @@ Engine, UCP, and DTR).
If prompted to accept the GPG key, verify that the fingerprint matches `{{ gpg-fingerprint }}`, and if so, accept it. If prompted to accept the GPG key, verify that the fingerprint matches `{{ gpg-fingerprint }}`, and if so, accept it.
3. To install a _specific version_ of Docker EE (recommended in production), list versions and install:
2. To install a _specific version_ of Docker EE (recommended in production), list versions and install:
a. List and sort the versions available in your repo. This example sorts results by version number, highest to lowest, and is truncated: a. List and sort the versions available in your repo. This example sorts results by version number, highest to lowest, and is truncated:
```bash ```bash
$ sudo yum list docker-ee --showduplicates | sort -r $ sudo yum list docker-ee --showduplicates | sort -r
docker-ee.x86_64 {{ site.docker_ee_version }}.ee.2-1.el7.{{ linux-dist }} docker-ee-stable-17.06 docker-ee.x86_64 {{ site.docker_ee_version }}.ee.2-1.el7.{{ linux-dist }} docker-ee-stable-18.09
``` ```
The list returned depends on which repositories you enabled, and is specific to your version of {{ linux-dist-long }} (indicated by `.el7` in this example). The list returned depends on which repositories you enabled, and is specific to your version of {{ linux-dist-long }} (indicated by `.el7` in this example).
b. Install a specific version by its **fully qualified package name** which is the package name (`docker-ee`) plus the version string (2nd column) up to the hyphen, for example: `docker-ee-17.06.1.ee.2` b. Install a specific version by its **fully qualified package name** which is the package name (`docker-ee`) plus the version string (2nd column) up to the hyphen, for example: `docker-ee-18.09.0`
```bash ```bash
$ sudo yum -y install <FULLY-QUALIFIED-PACKAGE-NAME> $ sudo yum -y install <FULLY-QUALIFIED-PACKAGE-NAME>
``` ```
For example, if you want to install the 18.09 version run the following:
```bash
sudo yum-config-manager --enable docker-ee-stable-18.09.0
```
Docker is installed but not started. The `docker` group is created, but no users are added to the group. Docker is installed but not started. The `docker` group is created, but no users are added to the group.
4. Start Docker: 3. Start Docker:
> If using `devicemapper`, ensure it is properly configured before starting Docker, per the [storage guide](/storage/storagedriver/device-mapper-driver/){: target="_blank" class="_" }. > If using `devicemapper`, ensure it is properly configured before starting Docker, per the [storage guide](/storage/storagedriver/device-mapper-driver/){: target="_blank" class="_" }.
@ -186,7 +185,7 @@ Engine, UCP, and DTR).
$ sudo systemctl start docker $ sudo systemctl start docker
``` ```
5. Verify that Docker EE is installed correctly by running the `hello-world` 4. Verify that Docker EE is installed correctly by running the `hello-world`
image. This command downloads a test image, runs it in a container, prints image. This command downloads a test image, runs it in a container, prints
an informational message, and exits: an informational message, and exits:

View File

@ -164,11 +164,10 @@ Before you install Docker EE for the first time on a new host machine, you need
to set up the Docker repository. Afterward, you can install and update Docker EE to set up the Docker repository. Afterward, you can install and update Docker EE
from the repository. from the repository.
There are currently two versions of Docker EE Engine available: > ***NOTE:*** If you need to run Docker EE 2.0, please see the following instructions:
> * [18.03](https://docs.docker.com/v18.03/ee/supported-platforms/) - Older Docker EE Engine only release
* 18.03 - Use this version if you're only running Docker EE Engine. > * [17.06](https://docs.docker.com/v17.06/engine/installation/) - Docker Enterprise Edition 2.0 (Docker Engine,
* 17.06 - Use this version if you're using Docker Enterprise Edition 2.0 (Docker > UCP, and DTR).
Engine, UCP, and DTR).
#### Set up the repository #### Set up the repository
@ -183,12 +182,12 @@ Engine, UCP, and DTR).
Where: Where:
* `DOCKER-EE-URL` is the URL from your Docker Store subscription. * `DOCKER-EE-URL` is the URL from your Docker Store subscription.
* `ARCHITECTURE` is `x86_64`, `s390x`, or `ppc64le`. * `ARCHITECTURE` is `x86_64`, `s390x`, or `ppc64le`.
* `VERSION` is `18.03` or `17.06`. * `VERSION` is `18.09`
As an example your command should look like: As an example your command should look like:
```bash ```bash
DOCKER_EE_URL="https://storebits.docker.com/ee/sles/sub-555-55-555/sles/12.3/x86_64/stable-17.06" DOCKER_EE_URL="https://storebits.docker.com/ee/sles/sub-555-55-555/sles/12.3/x86_64/stable-18.09"
``` ```
2. Use the following command to set up the **stable** repository. Use the 2. Use the following command to set up the **stable** repository. Use the
@ -307,7 +306,7 @@ other optional configuration steps.
To upgrade Docker EE: To upgrade Docker EE:
1. If upgrading to a new major Docker EE version (such as when going from 1. If upgrading to a new major Docker EE version (such as when going from
Docker 17.03.x to Docker 17.06.x), Docker 18.03.x to Docker 18.09.x),
[add the new repository](#set-up-the-repository){: target="_blank" class="_" }. [add the new repository](#set-up-the-repository){: target="_blank" class="_" }.
2. Run `sudo zypper refresh`. 2. Run `sudo zypper refresh`.

View File

@ -136,11 +136,11 @@ from the repository.
``` ```
4. Temporarily add a `$DOCKER_EE_VERSION` variable into your environment. 4. Temporarily add a `$DOCKER_EE_VERSION` variable into your environment.
There are currently two versions of Docker EE Engine available:
* `stable-18.03` - Use this version if you're only running Docker EE Engine. > ***NOTE:*** If you need to run Docker EE 2.0, please see the following instructions:
* `stable-17.06` - Use this version if you're using Docker Enterprise Edition (Docker > * [18.03](https://docs.docker.com/v18.03/ee/supported-platforms/) - Older Docker EE Engine only release
Engine, UCP, and DTR). > * [17.06](https://docs.docker.com/v17.06/engine/installation/) - Docker Enterprise Edition 2.0 (Docker Engine,
> UCP, and DTR).
```bash ```bash
$ DOCKER_EE_VERSION=<YOUR_VERSION> $ DOCKER_EE_VERSION=<YOUR_VERSION>
@ -185,7 +185,7 @@ from the repository.
$ sudo add-apt-repository \ $ sudo add-apt-repository \
"deb [arch=amd64] $DOCKER_EE_URL/ubuntu \ "deb [arch=amd64] $DOCKER_EE_URL/ubuntu \
$(lsb_release -cs) \ $(lsb_release -cs) \
stable-17.06" stable-18.09"
``` ```
</div> </div>
@ -195,7 +195,7 @@ from the repository.
$ sudo add-apt-repository \ $ sudo add-apt-repository \
"deb [arch=s390x] $DOCKER_EE_URL/ubuntu \ "deb [arch=s390x] $DOCKER_EE_URL/ubuntu \
$(lsb_release -cs) \ $(lsb_release -cs) \
stable-17.06" stable-18.09"
``` ```
</div> </div>
@ -205,7 +205,7 @@ from the repository.
$ sudo add-apt-repository \ $ sudo add-apt-repository \
"deb [arch=ppc64el] $DOCKER_EE_URL/ubuntu \ "deb [arch=ppc64el] $DOCKER_EE_URL/ubuntu \
$(lsb_release -cs) \ $(lsb_release -cs) \
stable-17.06" stable-18.09"
``` ```
</div> </div>
@ -279,7 +279,7 @@ steps.
To upgrade Docker EE: To upgrade Docker EE:
1. If upgrading to a new major Docker EE version (such as when going from 1. If upgrading to a new major Docker EE version (such as when going from
Docker 17.03.x to Docker 17.06.x), Docker 18.03.x to Docker 18.09.x),
[add the new repository](#set-up-the-repository){: target="_blank" class="_" }. [add the new repository](#set-up-the-repository){: target="_blank" class="_" }.
2. Run `sudo apt-get update`. 2. Run `sudo apt-get update`.