mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 00:47:48 +08:00

Allows using `--debug` to enable debug logging under any subcommand. Currently it needed to be set as `docker --debug buildx` meaning only way to enable debug in standalone mode was to set env variable instead and updating existing commands to add `--debug` was cumbersome. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
29 lines
1.9 KiB
Markdown
29 lines
1.9 KiB
Markdown
# docker buildx debug
|
|
|
|
<!---MARKER_GEN_START-->
|
|
Start debugger (EXPERIMENTAL)
|
|
|
|
### Subcommands
|
|
|
|
| Name | Description |
|
|
|:---------------------------------|:--------------|
|
|
| [`build`](buildx_debug_build.md) | Start a build |
|
|
|
|
|
|
### Options
|
|
|
|
| Name | Type | Default | Description |
|
|
|:------------------|:---------|:--------|:--------------------------------------------------------------------------------------------------------------------|
|
|
| `--builder` | `string` | | Override the configured builder instance |
|
|
| `-D`, `--debug` | `bool` | | Enable debug logging |
|
|
| `--detach` | `bool` | `true` | Detach buildx server for the monitor (supported only on linux) (EXPERIMENTAL) |
|
|
| `--invoke` | `string` | | Launch a monitor with executing specified command (EXPERIMENTAL) |
|
|
| `--on` | `string` | `error` | When to launch the monitor ([always, error]) (EXPERIMENTAL) |
|
|
| `--progress` | `string` | `auto` | Set type of progress output (`auto`, `plain`, `tty`, `rawjson`) for the monitor. Use plain to show container output |
|
|
| `--root` | `string` | | Specify root directory of server to connect for the monitor (EXPERIMENTAL) |
|
|
| `--server-config` | `string` | | Specify buildx server config file for the monitor (used only when launching new server) (EXPERIMENTAL) |
|
|
|
|
|
|
<!---MARKER_GEN_END-->
|
|
|