Add testing repo to Linux CE install instructions

This commit is contained in:
Misty Stanley-Jones 2017-06-26 11:56:57 -07:00 committed by Misty Stanley-Jones
parent 86c95a6d16
commit 14a5f0fbca
4 changed files with 45 additions and 22 deletions

View File

@ -77,8 +77,8 @@ from the repository.
```
2. Use the following command to set up the **stable** repository. You always
need the **stable** repository, even if you want to install **edge** builds
as well.
need the **stable** repository, even if you want to install builds from the
**edge** or **testing** repositories as well.
```bash
$ sudo yum-config-manager \
@ -86,22 +86,29 @@ from the repository.
{{ download-url-base }}/docker-ce.repo
```
3. **Optional**: Enable the **edge** repository. This repository is included
in the `docker.repo` file above but is disabled by default. You can enable
it alongside the stable repository.
3. **Optional**: Enable the **edge** and **testing** repositories. These
repositories are included in the `docker.repo` file above but are disabled
by default. You can enable them alongside the stable repository.
```bash
$ sudo yum-config-manager --enable docker-ce-edge
```
You can disable the **edge** repository by running the `yum-config-manager`
command with the `--disable` flag. To re-enable it, use the
`--enable` flag. The following command disables the **edge** repository.
```bash
$ sudo yum-config-manager --enable docker-ce-testing
```
You can disable the **edge** or **testing** repository by running the
`yum-config-manager` command with the `--disable` flag. To re-enable it, use
the `--enable` flag. The following command disables the **edge** repository.
```bash
$ sudo yum-config-manager --disable docker-ce-edge
```
> **Note**: Starting with Docker 17.06, stable releases are also pushed to
> the **edge** and **testing** repositories.
[Learn about **stable** and **edge** builds](/engine/installation/).
#### Install Docker CE

View File

@ -132,8 +132,10 @@ from the repository.
```
4. Use the following command to set up the **stable** repository. You always
need the **stable** repository, even if you want to install **edge** builds
as well.
need the **stable** repository, even if you want to install builds from the
**edge** or **testing** repositories as well. To add the **edge** or
**testing** repository, add the word `edge` or `testing` (or both) after the
word `stable` in the commands below.
> **Note**: The `lsb_release -cs` sub-command below returns the name of your
> Debian distribution, such as `jessie`.
@ -169,6 +171,9 @@ from the repository.
Save and exit the file.
> **Note**: Starting with Docker 17.06, stable releases are also pushed to
> the **edge** and **testing** repositories.
[Learn about **stable** and **edge** channels](/engine/installation/).
#### Install Docker CE

View File

@ -76,9 +76,9 @@ from the repository.
$ sudo dnf -y install dnf-plugins-core
```
2. Use the following command to set up the **stable** repository. You always
need the **stable** repository, even if you want to install **edge** builds
as well
2. se the following command to set up the **stable** repository. You always
need the **stable** repository, even if you want to install builds from the
**edge** or **testing** repositories as well.
```bash
$ sudo dnf config-manager \
@ -86,22 +86,29 @@ from the repository.
{{ download-url-base }}/docker-ce.repo
```
3. **Optional**: Enable the **edge** repository. This repository is included
in the `docker.repo` file above but is disabled by default. You can enable
it alongside the stable repository.
3. **Optional**: Enable the **edge** and **testing** repositories. These
repositories are included in the `docker.repo` file above but are disabled
by default. You can enable them alongside the stable repository.
```bash
$ sudo dnf config-manager --set-enabled docker-ce-edge
```
You can disable the **edge** repository by running the `dnf config-manager`
command with the `--disable` flag. To re-enable it, use the
`--enable` flag. The following command disables the **edge** repository.
```bash
$ sudo dnf config-manager --set-enabled docker-ce-testing
```
ou can disable the **edge** or **testing** repository by running the
`dnf config-manager` command with the `--disable` flag. To re-enable it, use
the `--enable` flag. The following command disables the **edge** repository.
```bash
$ sudo dnf config-manager --set-disabled docker-ce-edge
```
> **Note**: Starting with Docker 17.06, stable releases are also pushed to
> the **edge** and **testing** repositories.
[Learn about **stable** and **edge** channels](/engine/installation/).
#### Install Docker CE

View File

@ -129,8 +129,10 @@ the repository.
```
4. Use the following command to set up the **stable** repository. You always
need the **stable** repository, even if you want to install **edge** builds
as well.
need the **stable** repository, even if you want to install builds from the
**edge** or **testing** repositories as well. To add the **edge** or
**testing** repository, add the word `edge` or `testing` (or both) after the
word `stable` in the commands below.
> **Note**: The `lsb_release -cs` sub-command below returns the name of your
> Ubuntu distribution, such as `xenial`.
@ -167,7 +169,9 @@ the repository.
stable"
```
> **Note**: Starting with Docker 17.06, stable releases are also pushed to
> the **edge** and **testing** repositories.
[Learn about **stable** and **edge** channels](/engine/installation/).