docker buildx rm
Remove a builder instance
docker buildx rm [NAME]
Removes the specified or current builder. It is a no-op attempting to remove the default builder.
|Remove all inactive builders|
|Do not prompt for confirmation|
|Keep the buildkitd daemon running|
|Keep BuildKit state|
Remove builders that are not in running state.
$ docker buildx rm --all-inactive WARNING! This will remove all builders that are not in running state. Are you sure you want to continue? [y/N] y
Do not prompt for confirmation before removing inactive builders.
$ docker buildx rm --all-inactive --force
Keep the BuildKit daemon running after the buildx context is removed. This is
useful when you manage buildkitd daemons and buildx contexts independently.
Only supported by the
Keep BuildKit state, so it can be reused by a new builder with the same name.
Currently, only supported by the