Remove OS name from Ubuntu and Debian packages (#3772)

This commit is contained in:
Misty Stanley-Jones 2017-07-26 10:30:39 -07:00 committed by GitHub
parent faf7689793
commit a5068f43c5
2 changed files with 16 additions and 18 deletions

View File

@ -209,16 +209,15 @@ from the repository.
```bash ```bash
$ apt-cache madison docker-ce $ apt-cache madison docker-ce
docker-ce | {{ minor-version }}.0~ce-0~debian-jessie | {{ download-url-base}} jessie/stable amd64 Packages docker-ce | {{ minor-version }}.0~ce-0~debian | {{ download-url-base}} jessie/stable amd64 Packages
``` ```
The contents of the list depend upon which repositories are enabled, The contents of the list depend upon which repositories are enabled. Choose
and will be specific to your version of Debian (indicated by the `jessie` a specific version to install. The second column is the version string. The
suffix on the version, in this example). Choose a specific version to third column is the repository name, which indicates which repository the
install. The second column is the version string. The third column is the package is from and by extension its stability level. To install a specific
repository name, which indicates which repository the package is from and version, append the version string to the package name and separate them by
by extension its stability level. To install a specific version, append the an equals sign (`=`):
version string to the package name and separate them by an equals sign (`=`):
```bash ```bash
$ sudo apt-get install docker-ce=<VERSION_STRING> $ sudo apt-get install docker-ce=<VERSION_STRING>
@ -331,7 +330,7 @@ a new file each time you want to upgrade Docker.
1. Go to [{{ download-url-base }}/dists/]({{ download-url-base }}/dists/), 1. Go to [{{ download-url-base }}/dists/]({{ download-url-base }}/dists/),
choose your Debian version, browse to `pool/stable/`, choose either choose your Debian version, browse to `pool/stable/`, choose either
`amd64` or `armhf`, and download the `.deb` file for the Docker CE version you `amd64` or `armhf`, and download the `.deb` file for the Docker CE version you
want to install and for your version of Debian. want to install.
> **Note**: To install an **edge** package, change the word > **Note**: To install an **edge** package, change the word
> `stable` in the URL to `edge`. > `stable` in the URL to `edge`.

View File

@ -201,16 +201,15 @@ the repository.
```bash ```bash
$ apt-cache madison docker-ce $ apt-cache madison docker-ce
docker-ce | {{ minor-version }}.0~ce-0~ubuntu-xenial | {{ download-url-base }} xenial/stable amd64 Packages docker-ce | {{ minor-version }}.0~ce-0~ubuntu | {{ download-url-base }} xenial/stable amd64 Packages
``` ```
The contents of the list depend upon which repositories are enabled, The contents of the list depend upon which repositories are enabled. Choose
and will be specific to your version of Ubuntu (indicated by the `xenial` a specific version to install. The second column is the version string. The
suffix on the version, in this example). Choose a specific version to third column is the repository name, which indicates which repository the
install. The second column is the version string. The third column is the package is from and by extension its stability level. To install a specific
repository name, which indicates which repository the package is from and version, append the version string to the package name and separate them by
by extension its stability level. To install a specific version, append the an equals sign (`=`):
version string to the package name and separate them by an equals sign (`=`):
```bash ```bash
$ sudo apt-get install docker-ce=<VERSION> $ sudo apt-get install docker-ce=<VERSION>
@ -248,7 +247,7 @@ a new file each time you want to upgrade Docker CE.
1. Go to [{{ download-url-base }}/dists/]({{ download-url-base }}/dists/), 1. Go to [{{ download-url-base }}/dists/]({{ download-url-base }}/dists/),
choose your Ubuntu version, browse to `pool/stable/` and choose `amd64`, choose your Ubuntu version, browse to `pool/stable/` and choose `amd64`,
`armhf`, or `s390x`. Download the `.deb` file for the Docker version you `armhf`, or `s390x`. Download the `.deb` file for the Docker version you
want to install and for your version of Ubuntu. want to install.
> **Note**: To install an **edge** package, change the word > **Note**: To install an **edge** package, change the word
> `stable` in the URL to `edge`. > `stable` in the URL to `edge`.