From 684b9aaef2023933a48648904b44a8040835f81d Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 1 Jul 2024 11:01:51 +0200 Subject: [PATCH] engine/api: add missing entry for v27.0, and update example Signed-off-by: Sebastiaan van Stijn --- content/engine/api/_index.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/content/engine/api/_index.md b/content/engine/api/_index.md index c5e988f1b1..8500cc0984 100644 --- a/content/engine/api/_index.md +++ b/content/engine/api/_index.md @@ -73,21 +73,21 @@ To see the highest version of the API your Docker daemon and client support, use ```console $ docker version Client: Docker Engine - Community - Version: 26.1.0 - API version: 1.45 - Go version: go1.21.9 - Git commit: 9714adc - Built: Mon Apr 22 17:05:41 2024 + Version: 27.0.3 + API version: 1.46 + Go version: go1.21.11 + Git commit: 7d4bcd8 + Built: Sat Jun 29 00:02:23 2024 OS/Arch: linux/arm64 Context: default Server: Docker Engine - Community Engine: - Version: 26.1.0 - API version: 1.45 (minimum version 1.24) - Go version: go1.21.9 - Git commit: c8af8eb - Built: Mon Apr 22 17:07:05 2024 + Version: 27.0.3 + API version: 1.46 (minimum version 1.24) + Go version: go1.21.11 + Git commit: 662f78c + Built: Sat Jun 29 00:02:23 2024 OS/Arch: linux/arm64 Experimental: false ... @@ -99,7 +99,7 @@ You can specify the API version to use in any of the following ways: that incorporates the API version with the features you need. - When using `curl` directly, specify the version as the first part of the URL. For instance, if the endpoint is `/containers/` you can use - `/v1.45/containers/`. + `/v1.46/containers/`. - 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 environment variable `DOCKER_API_VERSION` to the correct version. This works @@ -127,6 +127,7 @@ You can specify the API version to use in any of the following ways: | Docker version | Maximum API version | Change log | |:---------------|:---------------------------|:---------------------------------------------------------| +| 27.0 | [1.46](/engine/api/v1.46/) | [changes](/engine/api/version-history/#v146-api-changes) | | 26.1 | [1.45](/engine/api/v1.45/) | [changes](/engine/api/version-history/#v145-api-changes) | | 26.0 | [1.45](/engine/api/v1.45/) | [changes](/engine/api/version-history/#v145-api-changes) | | 25.0 | [1.44](/engine/api/v1.44/) | [changes](/engine/api/version-history/#v144-api-changes) |