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

# pgxman container teardown

Tear down a container

### Synopsis

Tear down a container and purge all data.

```
pgxman container teardown [flags]
```

### Examples

```
 # Tear down the PostgreSQL 15 playgrond container.
pgxman container teardown pgxman_runner_15

# Tear down the PostgreSQL 15 & 16 containers.
pgxman container teardown pgxman_runner_15 pgxman_runner_16

```

### Options

```
  -h, --help   help for teardown
```

### Options inherited from parent commands

```
      --debug             enable debug logging
      --registry string   registry URL (default "https://registry.pgxman.com/v1")
```

### SEE ALSO

* [pgxman container](/cli/pgxman_container)	 - Run pgxman in a container
