mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-19 01:47:43 +08:00
docs: update bake notes
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
parent
9bc9291fc9
commit
d7b28fb4d3
@ -14,7 +14,7 @@ Key features:
|
|||||||
- Multiple builder instance support
|
- Multiple builder instance support
|
||||||
- Multi-node builds for cross-platform images
|
- Multi-node builds for cross-platform images
|
||||||
- Compose build support
|
- Compose build support
|
||||||
- WIP: High-level build constructs (`bake`)
|
- High-level build constructs (`bake`)
|
||||||
- In-container driver support (both Docker and Kubernetes)
|
- In-container driver support (both Docker and Kubernetes)
|
||||||
|
|
||||||
# Table of Contents
|
# Table of Contents
|
||||||
@ -159,6 +159,8 @@ Currently, the bake command supports building images from compose files, similar
|
|||||||
|
|
||||||
There is also support for custom build rules from HCL/JSON files allowing better code reuse and different target groups. The design of bake is in very early stages and we are looking for feedback from users.
|
There is also support for custom build rules from HCL/JSON files allowing better code reuse and different target groups. The design of bake is in very early stages and we are looking for feedback from users.
|
||||||
|
|
||||||
|
[`buildx bake` Reference Docs](docs/reference/buildx_bake.md)
|
||||||
|
|
||||||
# Setting buildx as default builder in Docker 19.03+
|
# Setting buildx as default builder in Docker 19.03+
|
||||||
|
|
||||||
Running `docker buildx install` sets up `docker builder` command as an alias to `docker buildx`. This results in the ability to have `docker build` use the current buildx builder.
|
Running `docker buildx install` sets up `docker builder` command as an alias to `docker buildx`. This results in the ability to have `docker build` use the current buildx builder.
|
||||||
|
@ -33,6 +33,10 @@ Build from a file
|
|||||||
Bake is a high-level build command. Each specified target will run in parallel
|
Bake is a high-level build command. Each specified target will run in parallel
|
||||||
as part of the build.
|
as part of the build.
|
||||||
|
|
||||||
|
Read [High-level build options](https://github.com/docker/buildx#high-level-build-options) for introduction.
|
||||||
|
|
||||||
|
Please note that `buildx bake` command may receive backwards incompatible features in the future if needed. We are looking for feedback on improving the command and extending the functionality further.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
### <a name="file"></a> Specify a build definition file (-f, --file)
|
### <a name="file"></a> Specify a build definition file (-f, --file)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user