# buildx rm
```
docker buildx rm [NAME]
```
Remove a builder instance
### Options
| Name | Description |
| --- | --- |
| [`--builder string`](#builder) | Override the configured builder instance |
| [`--keep-state`](#keep-state) | Keep BuildKit state |
## Description
Removes the specified or current builder. It is a no-op attempting to remove the
default builder.
## Examples
### Override the configured builder instance (--builder)
Same as [`buildx --builder`](buildx.md#builder).
### 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).