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.
41 lines
1.2 KiB
Markdown
41 lines
1.2 KiB
Markdown
# buildx rm
|
|
|
|
```
|
|
docker buildx rm [NAME]
|
|
```
|
|
|
|
<!---MARKER_GEN_START-->
|
|
Remove a builder instance
|
|
|
|
### Options
|
|
|
|
| Name | Description |
|
|
| --- | --- |
|
|
| [`--builder string`](#builder) | Override the configured builder instance |
|
|
| [`--keep-daemon`](#keep-daemon) | Keep the buildkitd daemon running |
|
|
| [`--keep-state`](#keep-state) | Keep BuildKit state |
|
|
|
|
|
|
<!---MARKER_GEN_END-->
|
|
|
|
## Description
|
|
|
|
Removes the specified or current builder. It is a no-op attempting to remove the
|
|
default builder.
|
|
|
|
## Examples
|
|
|
|
### <a name="builder"></a> Override the configured builder instance (--builder)
|
|
|
|
Same as [`buildx --builder`](buildx.md#builder).
|
|
|
|
### <a name="keep-state"></a> Keep BuildKit state (--keep-state)
|
|
|
|
Keep BuildKit state, so it can be reused by a new builder with the same name.
|
|
Currently, only supported by the [`docker-container` driver](buildx_create.md#driver).
|
|
|
|
### <a name="keep-daemon"></a> Keep the buildkitd daemon running (--keep-daemon)
|
|
|
|
Keep the buildkitd daemon running after the buildx context is removed. This is useful when you manage buildkitd daemons and buildx contexts independently.
|
|
Currently, only supported by the [`docker-container` and `kubernetes` drivers](buildx_create.md#driver).
|