mirror of https://github.com/docker/docs.git
engine/install: update example versions
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
684b9aaef2
commit
28b04f6436
|
@ -116,8 +116,8 @@ $ sudo yum-config-manager --add-repo {{% param "download-url-base" %}}/docker-ce
|
|||
```console
|
||||
$ yum list docker-ce --showduplicates | sort -r
|
||||
|
||||
docker-ce.x86_64 3:26.1.3-1.el9 docker-ce-stable
|
||||
docker-ce.x86_64 3:26.1.2-1.el9 docker-ce-stable
|
||||
docker-ce.x86_64 3:27.0.3-1.el9 docker-ce-stable
|
||||
docker-ce.x86_64 3:27.0.2-1.el9 docker-ce-stable
|
||||
<...>
|
||||
```
|
||||
|
||||
|
@ -126,7 +126,7 @@ $ sudo yum-config-manager --add-repo {{% param "download-url-base" %}}/docker-ce
|
|||
|
||||
Install a specific version by its fully qualified package name, which is
|
||||
the package name (`docker-ce`) plus the version string (2nd column),
|
||||
separated by a hyphen (`-`). For example, `docker-ce-3:26.1.2-1.el9`.
|
||||
separated by a hyphen (`-`). For example, `docker-ce-3:27.0.3-1.el9`.
|
||||
|
||||
Replace `<VERSION_STRING>` with the desired version and then run the following
|
||||
command to install:
|
||||
|
|
|
@ -143,15 +143,15 @@ Docker from the repository.
|
|||
# List the available versions:
|
||||
$ apt-cache madison docker-ce | awk '{ print $3 }'
|
||||
|
||||
5:26.1.0-1~debian.12~bookworm
|
||||
5:26.0.2-1~debian.12~bookworm
|
||||
5:27.0.3-1~debian.12~bookworm
|
||||
5:27.0.2-1~debian.12~bookworm
|
||||
...
|
||||
```
|
||||
|
||||
Select the desired version and install:
|
||||
|
||||
```console
|
||||
$ VERSION_STRING=5:26.1.0-1~debian.12~bookworm
|
||||
$ VERSION_STRING=5:27.0.3-1~debian.12~bookworm
|
||||
$ sudo apt-get install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
```
|
||||
|
||||
|
|
|
@ -112,8 +112,8 @@ $ sudo dnf config-manager --add-repo {{% param "download-url-base" %}}/docker-ce
|
|||
```console
|
||||
$ dnf list docker-ce --showduplicates | sort -r
|
||||
|
||||
docker-ce.x86_64 3:26.1.0-1.fc40 docker-ce-stable
|
||||
docker-ce.x86_64 3:26.0.2-1.fc40 docker-ce-stable
|
||||
docker-ce.x86_64 3:27.0.3-1.fc40 docker-ce-stable
|
||||
docker-ce.x86_64 3:27.0.2-1.fc40 docker-ce-stable
|
||||
<...>
|
||||
```
|
||||
|
||||
|
@ -122,7 +122,7 @@ $ sudo dnf config-manager --add-repo {{% param "download-url-base" %}}/docker-ce
|
|||
|
||||
Install a specific version by its fully qualified package name, which is
|
||||
the package name (`docker-ce`) plus the version string (2nd column),
|
||||
separated by a hyphen (`-`). For example, `docker-ce-3:26.1.0-1.fc40`.
|
||||
separated by a hyphen (`-`). For example, `docker-ce-3:27.0.3-1.fc40`.
|
||||
|
||||
Replace `<VERSION_STRING>` with the desired version and then run the following
|
||||
command to install:
|
||||
|
|
|
@ -132,15 +132,15 @@ Docker from the repository.
|
|||
# List the available versions:
|
||||
$ apt-cache madison docker-ce | awk '{ print $3 }'
|
||||
|
||||
5:25.0.0-1~raspbian.12~bookworm
|
||||
5:24.0.7-1~raspbian.12~bookworm
|
||||
5:27.0.3-1~raspbian.12~bookworm
|
||||
5:27.0.2-1~raspbian.12~bookworm
|
||||
...
|
||||
```
|
||||
|
||||
Select the desired version and install:
|
||||
|
||||
```console
|
||||
$ VERSION_STRING=5:25.0.0-1~raspbian.12~bookworm
|
||||
$ VERSION_STRING=5:27.0.3-1~raspbian.12~bookworm
|
||||
$ sudo apt-get install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
```
|
||||
|
||||
|
|
|
@ -128,8 +128,8 @@ $ sudo yum-config-manager --add-repo {{% param "download-url-base" %}}/docker-ce
|
|||
```console
|
||||
$ yum list docker-ce --showduplicates | sort -r
|
||||
|
||||
docker-ce.s390x 3:26.0.2-1.el9 docker-ce-stable
|
||||
docker-ce.s390x 3:26.0.1-1.el9 docker-ce-stable
|
||||
docker-ce.x86_64 3:27.0.3-1.el9 docker-ce-stable
|
||||
docker-ce.x86_64 3:27.0.2-1.el9 docker-ce-stable
|
||||
<...>
|
||||
```
|
||||
|
||||
|
@ -138,7 +138,7 @@ $ sudo yum-config-manager --add-repo {{% param "download-url-base" %}}/docker-ce
|
|||
|
||||
Install a specific version by its fully qualified package name, which is
|
||||
the package name (`docker-ce`) plus the version string (2nd column),
|
||||
separated by a hyphen (`-`). For example, `docker-ce-3:26.0.1-1.el9`.
|
||||
separated by a hyphen (`-`). For example, `docker-ce-3:27.0.3-1.el9`.
|
||||
|
||||
Replace `<VERSION_STRING>` with the desired version and then run the following
|
||||
command to install:
|
||||
|
|
|
@ -146,15 +146,15 @@ Docker from the repository.
|
|||
# List the available versions:
|
||||
$ apt-cache madison docker-ce | awk '{ print $3 }'
|
||||
|
||||
5:26.1.0-1~ubuntu.24.04~noble
|
||||
5:26.0.2-1~ubuntu.24.04~noble
|
||||
5:27.0.3-1~ubuntu.24.04~noble
|
||||
5:27.0.2-1~ubuntu.24.04~noble
|
||||
...
|
||||
```
|
||||
|
||||
Select the desired version and install:
|
||||
|
||||
```console
|
||||
$ VERSION_STRING=5:26.1.0-1~ubuntu.24.04~noble
|
||||
$ VERSION_STRING=5:27.0.3-1~ubuntu.24.04~noble
|
||||
$ 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