mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-15 07:57:07 +08:00
docs: refactored file and directory structure
Signed-off-by: David Karlsson <david.karlsson@docker.com>
This commit is contained in:
30
docs/manuals/drivers/docker.md
Normal file
30
docs/manuals/drivers/docker.md
Normal file
@ -0,0 +1,30 @@
|
||||
# Docker driver
|
||||
|
||||
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.
|
||||
|
||||
Unlike the other drivers, builders using the Docker driver can't be manually
|
||||
created. They're only created automatically from the Docker context.
|
||||
|
||||
Images built with the Docker driver are automatically loaded to the local image
|
||||
store.
|
||||
|
||||
## Synopsis
|
||||
|
||||
```console
|
||||
# The Docker driver is used by buildx by default
|
||||
docker buildx build .
|
||||
```
|
||||
|
||||
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.
|
||||
|
||||
If you need additional configuration and flexibility, consider using the
|
||||
[Docker container driver](./docker-container.md).
|
||||
|
||||
## Further reading
|
||||
|
||||
For more information on the Docker driver, see the
|
||||
[buildx reference](https://docs.docker.com/engine/reference/commandline/buildx_create/#driver).
|
Reference in New Issue
Block a user