You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.0 KiB
Markdown
31 lines
1.0 KiB
Markdown
2 years ago
|
# Docker driver
|
||
|
|
||
2 years ago
|
The Buildx Docker driver is the default driver. It uses the BuildKit server
|
||
|
components built directly into the Docker engine. The Docker driver requires no
|
||
|
configuration.
|
||
2 years ago
|
|
||
2 years ago
|
Unlike the other drivers, builders using the Docker driver can't be manually
|
||
|
created. They're only created automatically from the Docker context.
|
||
2 years ago
|
|
||
2 years ago
|
Images built with the Docker driver are automatically loaded to the local image
|
||
|
store.
|
||
2 years ago
|
|
||
2 years ago
|
## Synopsis
|
||
2 years ago
|
|
||
|
```console
|
||
2 years ago
|
# The Docker driver is used by buildx by default
|
||
|
docker buildx build .
|
||
2 years ago
|
```
|
||
|
|
||
2 years ago
|
It's not possible to configure which BuildKit version to use, or to pass any
|
||
|
additional BuildKit parameters to a builder using the Docker driver. The
|
||
|
BuildKit version and parameters are preset by the Docker engine internally.
|
||
2 years ago
|
|
||
2 years ago
|
If you need additional configuration and flexibility, consider using the
|
||
|
[Docker container driver](./docker-container.md).
|
||
2 years ago
|
|
||
|
## Further reading
|
||
|
|
||
2 years ago
|
For more information on the Docker driver, see the
|
||
|
[buildx reference](https://docs.docker.com/engine/reference/commandline/buildx_create/#driver).
|