---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://ydb.tech/docs/en/reference/docker/cleanup.md?version=v26.1
  - https://ydb.tech/docs/ru/reference/docker/cleanup.md?version=v26.1
  - href: en/reference/docker/cleanup.md
    type: text/markdown
    title: Markdown version
  - href: ../../llms.txt
    type: text/markdown
    title: llms.txt
sourcePath: en/core/reference/docker/cleanup.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ydb.tech/docs/en/llms.txt

# Docker stop

To stop YDB in Docker, run the following command:

```bash
docker stop ydb-local
```

If the `--rm` flag was specified at startup, the container will be deleted after stopping.

## Kill Docker container with YDB

To delete a Docker container with YDB, run the following command:

```bash
docker kill ydb-local
```

If you want to clean up the file system, delete your work directory using the `rm -rf ~/ydbd` command. This will permanently remove all data inside the local YDB cluster.
