From 0a9326348beb54804a24f6afe04b1df77d906af0 Mon Sep 17 00:00:00 2001 From: Felipe Santos Date: Mon, 30 Jun 2025 01:40:32 -0300 Subject: [PATCH] Clarify version='2' limitations Co-authored-by: Akihiro Suda Signed-off-by: Felipe Santos --- docker/api/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/api/build.py b/docker/api/build.py index 59d711f0..1dba760e 100644 --- a/docker/api/build.py +++ b/docker/api/build.py @@ -103,7 +103,7 @@ class BuildApiMixin: Default: `None`. version (str): Version of the builder backend to use. - `1` is the first generation classic (deprecated) builder in the Docker daemon (default) - - `2` is [BuildKit](https://github.com/moby/buildkit) + - `2` is [BuildKit](https://github.com/moby/buildkit) over the REST API endpoint provided by the Docker daemon. This mode doesn't use the BuildKit gRPC API, and lacks support for advanced features such as secret mounts. Default: `None`. use_config_proxy (bool): If ``True``, and if the docker client configuration file (``~/.docker/config.json`` by default)