> For the complete documentation index, see [llms.txt](https://lauradang.gitbook.io/notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lauradang.gitbook.io/notes/devops/docker/docker-storage.md).

# Docker Storage

## Device out of space

try this: <https://code-examples.net/en/q/2335473>

Cleanup exited processes:

```bash
docker rm $(docker ps -q -f status=exited)
```

Cleanup dangling volumes:

```bash
docker volume rm $(docker volume ls -qf dangling=true)
```

Cleanup dangling images:

```bash
docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
```
