bump engine version in examples

Signed-off-by: David Karlsson <david.karlsson@docker.com>
This commit is contained in:
David Karlsson 2023-05-19 17:44:44 +02:00
parent 3ef912be0f
commit cf7bff250d
8 changed files with 35 additions and 35 deletions

View File

@ -72,24 +72,24 @@ To see the highest version of the API your Docker daemon and client support, use
```console ```console
$ docker version $ docker version
Client: Docker Engine - Community Client: Docker Engine - Community
Version: 23.0.5 Version: 24.0.0
API version: 1.42 API version: 1.43
Go version: go1.19.8 Go version: go1.20.4
Git commit: bc4487a Git commit: 98fdcd7
Built: Wed Apr 26 16:21:22 2023 Built: Mon May 15 18:48:45 2023
OS/Arch: linux/amd64 OS/Arch: linux/arm64
Context: default Context: default
Server: Docker Desktop 4.19.0 (106363) Server: Docker Engine - Community
Engine: Engine:
Version: 23.0.5 Version: 24.0.0
API version: 1.42 (minimum version 1.12) API version: 1.43 (minimum version 1.12)
Go version: go1.19.8 Go version: go1.20.4
Git commit: 94d3ad6 Git commit: 1331b8c
Built: Wed Apr 26 16:18:20 2023 Built: Mon May 15 18:48:45 2023
OS/Arch: linux/amd64 OS/Arch: linux/arm64
Experimental: false
... ...
``` ```

View File

@ -123,8 +123,8 @@ $ sudo yum-config-manager --add-repo {{ download-url-base }}/docker-ce.repo
```console ```console
$ yum list docker-ce --showduplicates | sort -r $ yum list docker-ce --showduplicates | sort -r
docker-ce.x86_64 3:23.0.5-1.el8 docker-ce-stable docker-ce.x86_64 3:24.0.0-1.el8 docker-ce-stable
docker-ce.x86_64 3:23.0.4-1.el8 docker-ce-stable docker-ce.x86_64 3:23.0.6-1.el8 docker-ce-stable
<...> <...>
``` ```
@ -133,7 +133,7 @@ $ sudo yum-config-manager --add-repo {{ download-url-base }}/docker-ce.repo
Install a specific version by its fully qualified package name, which is Install a specific version by its fully qualified package name, which is
the package name (`docker-ce`) plus the version string (2nd column), 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`. separated by a hyphen (`-`). For example, `docker-ce-3:24.0.0-1.el8`.
Replace `<VERSION_STRING>` with the desired version and then run the following Replace `<VERSION_STRING>` with the desired version and then run the following
command to install: command to install:

View File

@ -132,15 +132,15 @@ Docker from the repository.
# List the available versions: # List the available versions:
$ apt-cache madison docker-ce | awk '{ print $3 }' $ apt-cache madison docker-ce | awk '{ print $3 }'
5:23.0.5-1~debian.11~bullseye 5:24.0.0-1~debian.11~bullseye
5:23.0.4-1~debian.11~bullseye 5:23.0.6-1~debian.11~bullseye
<...> <...>
``` ```
Select the desired version and install: Select the desired version and install:
```console ```console
$ VERSION_STRING=5:23.0.5-1~debian.11~bullseye $ VERSION_STRING=5:24.0.0-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 $ sudo apt-get install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin
``` ```

View File

@ -117,8 +117,8 @@ $ sudo dnf config-manager --add-repo {{ download-url-base }}/docker-ce.repo
```console ```console
$ dnf list docker-ce --showduplicates | sort -r $ dnf list docker-ce --showduplicates | sort -r
docker-ce.x86_64 3:23.0.5-1.fc37 docker-ce-stable docker-ce.x86_64 3:24.0.0-1.fc37 docker-ce-stable
docker-ce.x86_64 3:23.0.4-1.fc37 docker-ce-stable docker-ce.x86_64 3:23.0.6-1.fc37 docker-ce-stable
<...> <...>
``` ```
@ -127,7 +127,7 @@ $ sudo dnf config-manager --add-repo {{ download-url-base }}/docker-ce.repo
Install a specific version by its fully qualified package name, which is Install a specific version by its fully qualified package name, which is
the package name (`docker-ce`) plus the version string (2nd column), 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`. separated by a hyphen (`-`). For example, `docker-ce-3:24.0.0-1.fc37`.
Replace `<VERSION_STRING>` with the desired version and then run the following Replace `<VERSION_STRING>` with the desired version and then run the following
command to install: command to install:

View File

@ -130,15 +130,15 @@ Docker from the repository.
# List the available versions: # List the available versions:
$ apt-cache madison docker-ce | awk '{ print $3 }' $ apt-cache madison docker-ce | awk '{ print $3 }'
5:23.0.5-1~raspbian.11~bullseye 5:24.0.0-1~raspbian.11~bullseye
5:23.0.4-1~raspbian.11~bullseye 5:23.0.6-1~raspbian.11~bullseye
<...> <...>
``` ```
Select the desired version and install: Select the desired version and install:
```console ```console
$ VERSION_STRING=5:23.0.5-1~raspbian.11~bullseye $ VERSION_STRING=5:24.0.0-1~raspbian.11~bullseye
$ sudo apt-get install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin $ sudo apt-get install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin
``` ```

View File

@ -128,8 +128,8 @@ $ sudo yum-config-manager --add-repo {{ download-url-base }}/docker-ce.repo
```console ```console
$ yum list docker-ce --showduplicates | sort -r $ yum list docker-ce --showduplicates | sort -r
docker-ce.s390x 3:23.0.5-1.el8 docker-ce-stable docker-ce.s390x 3:24.0.0-1.el8 docker-ce-stable
docker-ce.s390x 3:23.0.4-1.el8 docker-ce-stable docker-ce.s390x 3:23.0.6-1.el8 docker-ce-stable
<...> <...>
``` ```
@ -138,7 +138,7 @@ $ sudo yum-config-manager --add-repo {{ download-url-base }}/docker-ce.repo
Install a specific version by its fully qualified package name, which is Install a specific version by its fully qualified package name, which is
the package name (`docker-ce`) plus the version string (2nd column), 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`. separated by a hyphen (`-`). For example, `docker-ce-3:24.0.0-1.el8`.
Replace `<VERSION_STRING>` with the desired version and then run the following Replace `<VERSION_STRING>` with the desired version and then run the following
command to install: command to install:

View File

@ -150,8 +150,8 @@ $ sudo zypper addrepo {{ download-url-base }}/docker-ce.repo
```console ```console
$ sudo zypper search -s --match-exact docker-ce | sort -r $ sudo zypper search -s --match-exact docker-ce | sort -r
v | docker-ce | package | 3:23.0.5-3 | s390x | Docker CE Stable - s390x v | docker-ce | package | 3:24.0.0-3 | s390x | Docker CE Stable - s390x
v | docker-ce | package | 3:23.0.4-3 | s390x | Docker CE Stable - s390x v | docker-ce | package | 3:23.0.6-3 | s390x | Docker CE Stable - s390x
``` ```
The list returned depends on which repositories are enabled, and is specific The list returned depends on which repositories are enabled, and is specific
@ -159,7 +159,7 @@ $ sudo zypper addrepo {{ download-url-base }}/docker-ce.repo
Install a specific version by its fully qualified package name, which is Install a specific version by its fully qualified package name, which is
the package name (`docker-ce`) plus the version string (2nd column), the package name (`docker-ce`) plus the version string (2nd column),
separated by a hyphen (`-`). For example, `docker-ce-3:23.0.5`. separated by a hyphen (`-`). For example, `docker-ce-3:24.0.0`.
Replace `<VERSION_STRING>` with the desired version and then run the following Replace `<VERSION_STRING>` with the desired version and then run the following
command to install: command to install:

View File

@ -139,15 +139,15 @@ Docker from the repository.
# List the available versions: # List the available versions:
$ apt-cache madison docker-ce | awk '{ print $3 }' $ apt-cache madison docker-ce | awk '{ print $3 }'
5:23.0.5-1~ubuntu.22.04~jammy 5:24.0.0-1~ubuntu.22.04~jammy
5:23.0.4-1~ubuntu.22.04~jammy 5:23.0.6-1~ubuntu.22.04~jammy
<...> <...>
``` ```
Select the desired version and install: Select the desired version and install:
```console ```console
$ VERSION_STRING=5:23.0.5-1~ubuntu.22.04~jammy $ VERSION_STRING=5:24.0.0-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 $ sudo apt-get install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin
``` ```