> ## Documentation Index
> Fetch the complete documentation index at: https://namespace.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# nsc docker buildx cleanup

Unregister Namespace Remote Builders from buildx.

`docker buildx cleanup` stops the Namespace Remote Builders context and unconfigures them from local `buildx`.

## Usage

```bash theme={null}
nsc docker buildx cleanup [--name <name>] [--state <path>]
```

## Options

<h3 id="--name-name">
  \--name \<name>
</h3>

Specify the name of the `buildx` builder to clean up. By default, it is "nsc-remote".

<h3 id="--state-path">
  \--state \<path>
</h3>

Specify the directory path where the remote builder context configuration is stored.
