mirror of https://github.com/docker/docs.git
bump engine version in examples
Signed-off-by: David Karlsson <david.karlsson@docker.com>
This commit is contained in:
parent
3ef912be0f
commit
cf7bff250d
|
@ -72,24 +72,24 @@ To see the highest version of the API your Docker daemon and client support, use
|
|||
|
||||
```console
|
||||
$ docker version
|
||||
|
||||
Client: Docker Engine - Community
|
||||
Version: 23.0.5
|
||||
API version: 1.42
|
||||
Go version: go1.19.8
|
||||
Git commit: bc4487a
|
||||
Built: Wed Apr 26 16:21:22 2023
|
||||
OS/Arch: linux/amd64
|
||||
Version: 24.0.0
|
||||
API version: 1.43
|
||||
Go version: go1.20.4
|
||||
Git commit: 98fdcd7
|
||||
Built: Mon May 15 18:48:45 2023
|
||||
OS/Arch: linux/arm64
|
||||
Context: default
|
||||
|
||||
Server: Docker Desktop 4.19.0 (106363)
|
||||
Server: Docker Engine - Community
|
||||
Engine:
|
||||
Version: 23.0.5
|
||||
API version: 1.42 (minimum version 1.12)
|
||||
Go version: go1.19.8
|
||||
Git commit: 94d3ad6
|
||||
Built: Wed Apr 26 16:18:20 2023
|
||||
OS/Arch: linux/amd64
|
||||
Version: 24.0.0
|
||||
API version: 1.43 (minimum version 1.12)
|
||||
Go version: go1.20.4
|
||||
Git commit: 1331b8c
|
||||
Built: Mon May 15 18:48:45 2023
|
||||
OS/Arch: linux/arm64
|
||||
Experimental: false
|
||||
...
|
||||
```
|
||||
|
||||
|
|
|
@ -123,8 +123,8 @@ $ sudo yum-config-manager --add-repo {{ download-url-base }}/docker-ce.repo
|
|||
```console
|
||||
$ 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:23.0.4-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.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
|
||||
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
|
||||
command to install:
|
||||
|
|
|
@ -132,15 +132,15 @@ Docker from the repository.
|
|||
# List the available versions:
|
||||
$ apt-cache madison docker-ce | awk '{ print $3 }'
|
||||
|
||||
5:23.0.5-1~debian.11~bullseye
|
||||
5:23.0.4-1~debian.11~bullseye
|
||||
5:24.0.0-1~debian.11~bullseye
|
||||
5:23.0.6-1~debian.11~bullseye
|
||||
<...>
|
||||
```
|
||||
|
||||
Select the desired version and install:
|
||||
|
||||
```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
|
||||
```
|
||||
|
||||
|
|
|
@ -117,8 +117,8 @@ $ sudo dnf config-manager --add-repo {{ download-url-base }}/docker-ce.repo
|
|||
```console
|
||||
$ 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:23.0.4-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.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
|
||||
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
|
||||
command to install:
|
||||
|
|
|
@ -130,15 +130,15 @@ Docker from the repository.
|
|||
# List the available versions:
|
||||
$ apt-cache madison docker-ce | awk '{ print $3 }'
|
||||
|
||||
5:23.0.5-1~raspbian.11~bullseye
|
||||
5:23.0.4-1~raspbian.11~bullseye
|
||||
5:24.0.0-1~raspbian.11~bullseye
|
||||
5:23.0.6-1~raspbian.11~bullseye
|
||||
<...>
|
||||
```
|
||||
|
||||
Select the desired version and install:
|
||||
|
||||
```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
|
||||
```
|
||||
|
||||
|
|
|
@ -128,8 +128,8 @@ $ sudo yum-config-manager --add-repo {{ download-url-base }}/docker-ce.repo
|
|||
```console
|
||||
$ yum list docker-ce --showduplicates | sort -r
|
||||
|
||||
docker-ce.s390x 3:23.0.5-1.el8 docker-ce-stable
|
||||
docker-ce.s390x 3:23.0.4-1.el8 docker-ce-stable
|
||||
docker-ce.s390x 3:24.0.0-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
|
||||
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
|
||||
command to install:
|
||||
|
|
|
@ -150,8 +150,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:23.0.5-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:24.0.0-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
|
||||
|
@ -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
|
||||
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
|
||||
command to install:
|
||||
|
|
|
@ -139,15 +139,15 @@ Docker from the repository.
|
|||
# List the available versions:
|
||||
$ apt-cache madison docker-ce | awk '{ print $3 }'
|
||||
|
||||
5:23.0.5-1~ubuntu.22.04~jammy
|
||||
5:23.0.4-1~ubuntu.22.04~jammy
|
||||
5:24.0.0-1~ubuntu.22.04~jammy
|
||||
5:23.0.6-1~ubuntu.22.04~jammy
|
||||
<...>
|
||||
```
|
||||
|
||||
Select the desired version and install:
|
||||
|
||||
```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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue