Skip to content

Commit 0eb066e

Browse files
Clarify version='2' limitations
Co-authored-by: Akihiro Suda <[email protected]> Signed-off-by: Felipe Santos <[email protected]>
1 parent 62cbcd4 commit 0eb066e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/api/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def build(self, path=None, tag=None, quiet=False, fileobj=None,
103103
Default: `None`.
104104
version (str): Version of the builder backend to use.
105105
- `1` is the first generation classic (deprecated) builder in the Docker daemon (default)
106-
- `2` is [BuildKit](https://github.com/moby/buildkit)
106+
- `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.
107107
Default: `None`.
108108
use_config_proxy (bool): If ``True``, and if the docker client
109109
configuration file (``~/.docker/config.json`` by default)

0 commit comments

Comments
 (0)