mirror of https://github.com/docker/docs.git
update some engine 24.0 versions to 25.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
ff1b10949f
commit
2b6fafeedb
|
@ -20,7 +20,7 @@ Buildx supports the following exporters:
|
||||||
[OCI image layout](https://github.com/opencontainers/image-spec/blob/v1.0.1/image-layout.md)
|
[OCI image layout](https://github.com/opencontainers/image-spec/blob/v1.0.1/image-layout.md)
|
||||||
format.
|
format.
|
||||||
- `docker`: exports the build result to the local filesystem in the
|
- `docker`: exports the build result to the local filesystem in the
|
||||||
[Docker Image Specification v1.2.0](https://github.com/moby/moby/blob/v24.0.0/image/spec/v1.2.md)
|
[Docker Image Specification v1.2.0](https://github.com/moby/moby/blob/v25.0.0/image/spec/v1.2.md)
|
||||||
format.
|
format.
|
||||||
- `cacheonly`: doesn't export a build output, but runs the build and creates a
|
- `cacheonly`: doesn't export a build output, but runs the build and creates a
|
||||||
cache.
|
cache.
|
||||||
|
|
|
@ -73,22 +73,22 @@ 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: 24.0.0
|
Version: 25.0.0
|
||||||
API version: 1.43
|
API version: 1.44
|
||||||
Go version: go1.20.4
|
Go version: go1.21.6
|
||||||
Git commit: 98fdcd7
|
Git commit: e758fe5
|
||||||
Built: Mon May 15 18:48:45 2023
|
Built: Thu Jan 18 17:11:25 2024
|
||||||
OS/Arch: linux/arm64
|
OS/Arch: linux/amd64
|
||||||
Context: default
|
Context: default
|
||||||
|
|
||||||
Server: Docker Engine - Community
|
Server: Docker Engine - Community
|
||||||
Engine:
|
Engine:
|
||||||
Version: 24.0.0
|
Version: 25.0.0
|
||||||
API version: 1.43 (minimum version 1.12)
|
API version: 1.44 (minimum version 1.24)
|
||||||
Go version: go1.20.4
|
Go version: go1.21.6
|
||||||
Git commit: 1331b8c
|
Git commit: 615dfdf
|
||||||
Built: Mon May 15 18:48:45 2023
|
Built: Thu Jan 18 17:09:47 2024
|
||||||
OS/Arch: linux/arm64
|
OS/Arch: linux/amd64
|
||||||
Experimental: false
|
Experimental: false
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
@ -99,14 +99,14 @@ You can specify the API version to use in any of the following ways:
|
||||||
that incorporates the API version with the features you need.
|
that incorporates the API version with the features you need.
|
||||||
- When using `curl` directly, specify the version as the first part of the URL.
|
- When using `curl` directly, specify the version as the first part of the URL.
|
||||||
For instance, if the endpoint is `/containers/` you can use
|
For instance, if the endpoint is `/containers/` you can use
|
||||||
`/v1.42/containers/`.
|
`/v1.44/containers/`.
|
||||||
- To force the Docker CLI or the Docker Engine SDKs to use an older version
|
- To force the Docker CLI or the Docker Engine SDKs to use an older version
|
||||||
of the API than the version reported by `docker version`, set the
|
of the API than the version reported by `docker version`, set the
|
||||||
environment variable `DOCKER_API_VERSION` to the correct version. This works
|
environment variable `DOCKER_API_VERSION` to the correct version. This works
|
||||||
on Linux, Windows, or macOS clients.
|
on Linux, Windows, or macOS clients.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ DOCKER_API_VERSION='1.41'
|
$ DOCKER_API_VERSION='1.43'
|
||||||
```
|
```
|
||||||
|
|
||||||
While the environment variable is set, that version of the API is used, even
|
While the environment variable is set, that version of the API is used, even
|
||||||
|
@ -158,5 +158,5 @@ API versions before v1.24 are [deprecated](/engine/deprecated/#deprecate-legacy-
|
||||||
You can find archived documentation for deprecated versions of the API in the
|
You can find archived documentation for deprecated versions of the API in the
|
||||||
code repository on GitHub:
|
code repository on GitHub:
|
||||||
|
|
||||||
- [Documentation for API versions 1.23 and before](https://github.com/moby/moby/tree/v24.0.7/docs/api).
|
- [Documentation for API versions 1.23 and before](https://github.com/moby/moby/tree/v25.0.0/docs/api).
|
||||||
- [Documentation for API versions 1.17 and before](https://github.com/moby/moby/tree/v1.9.1/docs/reference/api).
|
- [Documentation for API versions 1.17 and before](https://github.com/moby/moby/tree/v1.9.1/docs/reference/api).
|
||||||
|
|
|
@ -118,8 +118,8 @@ $ sudo yum-config-manager --add-repo {{% param "download-url-base" %}}/docker-ce
|
||||||
```console
|
```console
|
||||||
$ yum list docker-ce --showduplicates | sort -r
|
$ yum list docker-ce --showduplicates | sort -r
|
||||||
|
|
||||||
docker-ce.x86_64 3:24.0.0-1.el8 docker-ce-stable
|
docker-ce.x86_64 3:25.0.0-1.el8 docker-ce-stable
|
||||||
docker-ce.x86_64 3:23.0.6-1.el8 docker-ce-stable
|
docker-ce.x86_64 3:24.0.7-1.el8 docker-ce-stable
|
||||||
<...>
|
<...>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -128,7 +128,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
|
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:24.0.0-1.el8`.
|
separated by a hyphen (`-`). For example, `docker-ce-3:25.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:
|
||||||
|
|
|
@ -143,15 +143,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:24.0.0-1~debian.11~bullseye
|
5:25.0.0-1~debian.12~bookworm
|
||||||
5:23.0.6-1~debian.11~bullseye
|
5:24.0.7-1~debian.12~bookworm
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
Select the desired version and install:
|
Select the desired version and install:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ VERSION_STRING=5:24.0.0-1~debian.11~bullseye
|
$ VERSION_STRING=5:25.0.0-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
|
$ sudo apt-get install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -112,17 +112,17 @@ $ sudo dnf config-manager --add-repo {{% param "download-url-base" %}}/docker-ce
|
||||||
```console
|
```console
|
||||||
$ dnf list docker-ce --showduplicates | sort -r
|
$ dnf list docker-ce --showduplicates | sort -r
|
||||||
|
|
||||||
docker-ce.x86_64 3:24.0.0-1.fc37 docker-ce-stable
|
docker-ce.x86_64 3:25.0.0-1.fc39 docker-ce-stable
|
||||||
docker-ce.x86_64 3:23.0.6-1.fc37 docker-ce-stable
|
docker-ce.x86_64 3:24.0.7-1.fc39 docker-ce-stable
|
||||||
<...>
|
<...>
|
||||||
```
|
```
|
||||||
|
|
||||||
The list returned depends on which repositories are enabled, and is specific
|
The list returned depends on which repositories are enabled, and is specific
|
||||||
to your version of Fedora (indicated by the `.fc37` suffix in this example).
|
to your version of Fedora (indicated by the `.fc39` suffix in this example).
|
||||||
|
|
||||||
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:24.0.0-1.fc37`.
|
separated by a hyphen (`-`). For example, `docker-ce-3:25.0.0-1.fc39`.
|
||||||
|
|
||||||
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:
|
||||||
|
|
|
@ -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:24.0.0-1~raspbian.11~bullseye
|
5:25.0.0-1~raspbian.12~bookworm
|
||||||
5:23.0.6-1~raspbian.11~bullseye
|
5:24.0.7-1~raspbian.12~bookworm
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
Select the desired version and install:
|
Select the desired version and install:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ VERSION_STRING=5:24.0.0-1~raspbian.11~bullseye
|
$ VERSION_STRING=5:25.0.0-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
|
$ sudo apt-get install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -139,7 +139,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
|
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:24.0.0-1.el8`.
|
separated by a hyphen (`-`). For example, `docker-ce-3:25.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:
|
||||||
|
|
|
@ -135,8 +135,8 @@ $ sudo zypper addrepo {{% param "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:24.0.0-3 | s390x | Docker CE Stable - s390x
|
v | docker-ce | package | 3:25.0.0-3 | s390x | Docker CE Stable - s390x
|
||||||
v | docker-ce | package | 3:23.0.6-3 | s390x | Docker CE Stable - s390x
|
v | docker-ce | package | 3:24.0.7-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
|
||||||
|
@ -144,7 +144,7 @@ $ sudo zypper addrepo {{% param "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:24.0.0`.
|
separated by a hyphen (`-`). For example, `docker-ce-3:25.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:
|
||||||
|
|
|
@ -292,7 +292,7 @@ To run Rootless Docker inside "rootful" Docker, use the `docker:<version>-dind-r
|
||||||
image instead of `docker:<version>-dind`.
|
image instead of `docker:<version>-dind`.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker run -d --name dind-rootless --privileged docker:24.0-dind-rootless
|
$ docker run -d --name dind-rootless --privileged docker:25.0-dind-rootless
|
||||||
```
|
```
|
||||||
|
|
||||||
The `docker:<version>-dind-rootless` image runs as a non-root user (UID 1000).
|
The `docker:<version>-dind-rootless` image runs as a non-root user (UID 1000).
|
||||||
|
|
|
@ -115,7 +115,7 @@
|
||||||
# used in warnings printed by the Docker Engine when pulling deprecated image
|
# used in warnings printed by the Docker Engine when pulling deprecated image
|
||||||
# formats:
|
# formats:
|
||||||
#
|
#
|
||||||
# - Docker Image Specification v1.0.0 (https://github.com/moby/moby/blob/v24.0.0/image/spec/v1.md)
|
# - Docker Image Specification v1.0.0 (https://github.com/moby/moby/blob/v25.0.0/image/spec/v1.md)
|
||||||
# - Docker Image manifest version 2, schema 1 (https://github.com/distribution/distribution/blob/ff2bce27319a0a0bca924820c353fae3b9046e91/docs/spec/manifest-v2-1.md)
|
# - Docker Image manifest version 2, schema 1 (https://github.com/distribution/distribution/blob/ff2bce27319a0a0bca924820c353fae3b9046e91/docs/spec/manifest-v2-1.md)
|
||||||
#
|
#
|
||||||
# TODO(thaJeztah) We need a better page describing the image formats (and deprecated ones)
|
# TODO(thaJeztah) We need a better page describing the image formats (and deprecated ones)
|
||||||
|
|
Loading…
Reference in New Issue