instruction: Explain the endpoints in the daemon. If the client is newer than the daemon, the client can request API endpoint... in docker_api
output: endpoints in the daemon. If the client is newer than the daemon, the client can request API endpoints that the daemon doesn't know about. A new version of the API is released when new features are added. The Docker API is backward-compatible, so you don't need to update code that uses the API unless you need to take advantage of new features. To see the highest version of the API your Docker daemon and client support, use docker version : ]\s+/gm, '')); copying = true; setTimeout(() => copying = false, 2000);"> $ docker version Client: Docker Engine - Community Version: 28.3.3 API version: 1.51 Go version: go1.24.5 Git commit: 980b856 Built: Fri Jul 25 11:34:09 2025 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 28.3.3 API version: 1.51 (minimum version 1.24) Go version: go1.24.5 Git commit: bea959c Built: Fri Jul 25 11:34:09 2025 OS/Arch: linux/amd64 ... You can specify the API version to use in any of the following ways: When using the SDK, use the latest version. At a minimum, use the version 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.51/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 on Linux, Windows, or macOS clients. ]\s+/gm, '')); copying = true; setTimeout(() => copying = false, 2000);"> $ DOCKER_API_VERSION = 1.50 While the environment variable is set, that version of the API is used, even if the Docker daemon supports a newer version. This environment variable disables API version negotiation, so you should only use it if you must use a specific version of the API, or for debugging purposes. The Docker Go SDK allows you to enable API version negotiation, automatically selects an API version that's supported by both the client and the Docker Engine that's in use. For the SDKs, you can also specify the API version programmatically as a parameter to the client object. See the Go constructor or the Python SDK documentation for client . API version matrix Docker version Maximum API version Change log 28.3 1.51 changes 28.2 1.50 changes 28.1 1.49 changes 28.0 1.48 changes 27.5 1.47 changes 27.4 1.47 changes 27.3 1.47 changes 27.2 1.47 changes 27.1 1.46 changes 27.0 1.46 changes 26.1 1.45 changes 26.0 1.45 changes 25.0 1.44 changes 24.0 1.43 changes 23.0 1.42 changes 20.10 1.41 changes 19.03 1.40 changes 18.09 1.39 changes 18.06 1.38 changes 18.05 1.37 changes 18.04 1.37 changes 18.03 1.37 changes 18.02 1.36 changes 17.12 1.35 changes 17.11 1.34 changes 17.10 1.33 changes 17.09 1.32 changes 17.07 1.31 changes 17.06 1.30 changes 17.05 1.29 changes 17.04 1.28 changes 17.03.1 1.27 changes 17.03 1.26 changes 1.13.1 1.26 changes 1.13 1.25 changes 1.12 1.24 changes Deprecated API versions API versions before v1.24 are deprecated . You can find archived documentation for deprecated versions of the API in the code repository on GitHub: Documentation for API versions 1.23 and before . Documentation for API versions 1.17 and before . Edit this page Request changes Table of contents View the API reference Versioned API and SDK API version matrix Deprecated API versions Product offerings Pricing About us Contribute Read llms.txt Cookies Settings Terms of Service Status Legal Copyright © 2013-2025 Docker Inc. All rights reserved.