mirror of https://github.com/docker/docs.git
engine/install: update versions to 23.0, and update distro-versions
Also simplifying the instructions to get the "version string" on rpm- distros. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
f96d4c523d
commit
81152b37ae
|
@ -125,19 +125,17 @@ $ sudo yum-config-manager \
|
|||
```console
|
||||
$ yum list docker-ce --showduplicates | sort -r
|
||||
|
||||
docker-ce.x86_64 3:18.09.1-3.el7 docker-ce-stable
|
||||
docker-ce.x86_64 3:18.09.0-3.el7 docker-ce-stable
|
||||
docker-ce.x86_64 18.06.1.ce-3.el7 docker-ce-stable
|
||||
docker-ce.x86_64 18.06.0.ce-3.el7 docker-ce-stable
|
||||
docker-ce.x86_64 3:23.0.5-1.el8 docker-ce-stable
|
||||
docker-ce.x86_64 3:23.0.4-1.el8 docker-ce-stable
|
||||
<...>
|
||||
```
|
||||
|
||||
The list returned depends on which repositories are enabled, and is specific
|
||||
to your version of CentOS (indicated by the `.el7` suffix in this example).
|
||||
to your version of CentOS (indicated by the `.el8` suffix in this example).
|
||||
|
||||
Install a specific version by its fully qualified package name, which is
|
||||
the package name (`docker-ce`) plus the version string (2nd column)
|
||||
starting at the first colon (`:`), up to the first hyphen, separated by
|
||||
a hyphen (`-`). For example, `docker-ce-18.09.1`.
|
||||
the package name (`docker-ce`) plus the version string (2nd column),
|
||||
separated by a hyphen (`-`). For example, `docker-ce-3:23.0.5-1.el8`.
|
||||
|
||||
Replace `<VERSION_STRING>` with the desired version and then run the following command to install:
|
||||
|
||||
|
|
|
@ -23,8 +23,10 @@ To get started with Docker Engine on Debian, make sure you
|
|||
To install Docker Engine, you need the 64-bit version of one of these Debian or
|
||||
Raspbian versions:
|
||||
|
||||
- Debian Bookworm 12 (testing)
|
||||
- Debian Bullseye 11 (stable)
|
||||
- Debian Buster 10 (oldstable)
|
||||
- Raspbian Bookworm 12 (testing)
|
||||
- Raspbian Bullseye 11 (stable)
|
||||
- Raspbian Buster 10 (oldstable)
|
||||
|
||||
|
@ -146,16 +148,15 @@ Raspbian.
|
|||
# List the available versions:
|
||||
$ apt-cache madison docker-ce | awk '{ print $3 }'
|
||||
|
||||
5:18.09.1~3-0~debian-stretch
|
||||
5:18.09.0~3-0~debian-stretch
|
||||
18.06.1~ce~3-0~debian
|
||||
18.06.0~ce~3-0~debian
|
||||
5:23.0.5-1~debian.11~bullseye
|
||||
5:23.0.4-1~debian.11~bullseye
|
||||
<...>
|
||||
```
|
||||
|
||||
Select the desired version and install:
|
||||
|
||||
```console
|
||||
$ VERSION_STRING=5:18.09.0~3-0~debian-stretch
|
||||
$ VERSION_STRING=5:23.0.5-1~debian.11~bullseye
|
||||
$ sudo apt-get install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
```
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ To install Docker Engine, you need the 64-bit version of one of these Fedora ver
|
|||
|
||||
- Fedora 36
|
||||
- Fedora 37
|
||||
- Fedora 38
|
||||
|
||||
### Uninstall old versions
|
||||
|
||||
|
@ -108,19 +109,17 @@ $ sudo dnf config-manager \
|
|||
```console
|
||||
$ dnf list docker-ce --showduplicates | sort -r
|
||||
|
||||
docker-ce.x86_64 3:18.09.1-3.fc28 docker-ce-stable
|
||||
docker-ce.x86_64 3:18.09.0-3.fc28 docker-ce-stable
|
||||
docker-ce.x86_64 18.06.1.ce-3.fc28 docker-ce-stable
|
||||
docker-ce.x86_64 18.06.0.ce-3.fc28 docker-ce-stable
|
||||
docker-ce.x86_64 3:23.0.5-1.fc37 docker-ce-stable
|
||||
docker-ce.x86_64 3:23.0.4-1.fc37 docker-ce-stable
|
||||
<...>
|
||||
```
|
||||
|
||||
The list returned depends on which repositories are enabled, and is specific
|
||||
to your version of Fedora (indicated by the `.fc28` suffix in this example).
|
||||
to your version of Fedora (indicated by the `.fc37` suffix in this example).
|
||||
|
||||
b. Install a specific version by its fully qualified package name, which is
|
||||
the package name (`docker-ce`) plus the version string (2nd column) up to
|
||||
the first hyphen, separated by a hyphen (`-`), for example,
|
||||
`docker-ce-3:18.09.1`.
|
||||
the package name (`docker-ce`) plus the version string (2nd column),
|
||||
separated by a hyphen (`-`). For example, `docker-ce-3:23.0.5-1.fc37`.
|
||||
|
||||
```console
|
||||
$ sudo dnf -y install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
|
|
|
@ -119,8 +119,8 @@ $ sudo yum-config-manager \
|
|||
```console
|
||||
$ yum list docker-ce --showduplicates | sort -r
|
||||
|
||||
docker-ce.s390x 3:20.10.8-3.el8 docker-ce-stable
|
||||
docker-ce.s390x 3:20.10.7-3.el8 docker-ce-stable
|
||||
docker-ce.s390x 3:23.0.5-1.el8 docker-ce-stable
|
||||
docker-ce.s390x 3:23.0.4-1.el8 docker-ce-stable
|
||||
<...>
|
||||
```
|
||||
|
||||
|
@ -128,9 +128,8 @@ $ sudo yum-config-manager \
|
|||
to your version of RHEL (indicated by the `.el8` suffix in this example).
|
||||
|
||||
b. Install a specific version by its fully qualified package name, which is
|
||||
the package name (`docker-ce`) plus the version string (2nd column)
|
||||
starting at the first colon (`:`), up to the first hyphen, separated by
|
||||
a hyphen (`-`). For example, `docker-ce-20.10.7`.
|
||||
the package name (`docker-ce`) plus the version string (2nd column),
|
||||
separated by a hyphen (`-`). For example, `docker-ce-3:23.0.5-1.el8`.
|
||||
|
||||
```console
|
||||
$ sudo yum install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
|
|
|
@ -139,8 +139,8 @@ $ sudo zypper addrepo {{ download-url-base }}/docker-ce.repo
|
|||
```console
|
||||
$ sudo zypper search -s --match-exact docker-ce | sort -r
|
||||
|
||||
v | docker-ce | package | 3:20.10.8-3 | s390x | Docker CE Stable - s390x
|
||||
v | docker-ce | package | 3:20.10.7-3 | s390x | Docker CE Stable - s390x
|
||||
v | docker-ce | package | 3:23.0.5-3 | s390x | Docker CE Stable - s390x
|
||||
v | docker-ce | package | 3:23.0.4-3 | s390x | Docker CE Stable - s390x
|
||||
```
|
||||
|
||||
The list returned depends on which repositories are enabled, and is specific
|
||||
|
@ -148,7 +148,7 @@ $ sudo zypper addrepo {{ download-url-base }}/docker-ce.repo
|
|||
|
||||
b. Install a specific version by its fully qualified package name, which is
|
||||
the package name (`docker-ce`) plus the version string (fourth column),
|
||||
separated by a hyphen (`-`). For example, `docker-ce-3:20.10.8`.
|
||||
separated by a hyphen (`-`). For example, `docker-ce-3:23.0.5`.
|
||||
|
||||
```console
|
||||
$ sudo zypper install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
|
|
|
@ -27,6 +27,7 @@ To get started with Docker Engine on Ubuntu, make sure you
|
|||
To install Docker Engine, you need the 64-bit version of one of these Ubuntu
|
||||
versions:
|
||||
|
||||
- Ubuntu Lunar 23.04
|
||||
- Ubuntu Kinetic 22.10
|
||||
- Ubuntu Jammy 22.04 (LTS)
|
||||
- Ubuntu Focal 20.04 (LTS)
|
||||
|
@ -142,16 +143,15 @@ Docker from the repository.
|
|||
# List the available versions:
|
||||
$ apt-cache madison docker-ce | awk '{ print $3 }'
|
||||
|
||||
5:20.10.16~3-0~ubuntu-jammy
|
||||
5:20.10.15~3-0~ubuntu-jammy
|
||||
5:20.10.14~3-0~ubuntu-jammy
|
||||
5:20.10.13~3-0~ubuntu-jammy
|
||||
5:23.0.5-1~ubuntu.22.04~jammy
|
||||
5:23.0.4-1~ubuntu.22.04~jammy
|
||||
<...>
|
||||
```
|
||||
|
||||
Select the desired version and install:
|
||||
|
||||
```console
|
||||
$ VERSION_STRING=5:20.10.13~3-0~ubuntu-jammy
|
||||
$ VERSION_STRING=5:23.0.5-1~ubuntu.22.04~jammy
|
||||
$ sudo apt-get install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue