---
title: "Angry Docker Purge"
description: "If you receive No Space left error on Docker this the brute force solution:"
canonical: https://oozou.com/til/angry-docker-purge-72
locale: en
date: 2020-10-13
topic: shell
---

# Angry Docker Purge

> If you receive No Space left error on Docker this the brute force solution:

Published: 2020-10-13 · Topic: [shell](https://oozou.com/til-topics/shell) ([markdown](https://oozou.com/til-topics/shell.md))

If you receive *No Space left* error on Docker this the brute force solution:

It would stop and delete *ALL* containers, images and volumes.

```
docker stop $(docker ps -aq); docker rm $(docker ps -aq); docker volume rm $(docker volume ls -qf dangling=true);docker system prune -af
```

---

Contact OOZOU: hello@oozou.com · +66 2544 0000 · https://oozou.com/contact

More for AI agents: https://oozou.com/llms.txt · every page has a markdown twin at its URL plus ".md"
