docker buildx bake
Description
Build from a file
This command is experimental on the Docker client.
It should not be used in production environments.
To enable experimental features in the Docker CLI, edit the config.json and set
experimental
toenabled
. You can go here for more information.
Usage
docker buildx bake [OPTIONS] [TARGET...]
Options
Name, shorthand | Default | Description |
--file , -f |
Build definition file | |
--no-cache |
Do not use cache when building the image | |
--print |
Print the options without building | |
--progress |
auto |
Set type of progress output (auto, plain, tty). Use plain to show container output |
--pull |
Always attempt to pull a newer version of the image | |
--set |
Override target value (eg: target.key=value) |
Parent command
Command | Description |
---|---|
docker buildx | Build with BuildKit |
Related commands
Command | Description |
docker buildx bake | Build from a file |
docker buildx build | Start a build |
docker buildx create | Create a new builder instance |
docker buildx imagetools | Commands to work on images in registry |
docker buildx inspect | Inspect current builder instance |
docker buildx ls | List builder instances |
docker buildx rm | Remove a builder instance |
docker buildx stop | Stop builder instance |
docker buildx use | Set the current builder instance |
docker buildx version | Show buildx version information |