sajad torkamani
docker system prune --volumes

Remove:

  • Dangling images
  • Stopped containers
  • Unused volumes
  • Unused networks

Think twice before you remove the volumes with the --volumes flag.

Running docker volume prune freed up 28GB for me 😅.

Tagged: Docker