Skip to content

Instantly share code, notes, and snippets.

@thinkjrs
Created February 28, 2023 23:50
Show Gist options
  • Save thinkjrs/716403ec4b1d2d099b65b9003a7c07a3 to your computer and use it in GitHub Desktop.
Save thinkjrs/716403ec4b1d2d099b65b9003a7c07a3 to your computer and use it in GitHub Desktop.
Remove all docker volumes

Removing Docker Volumes

It's a common need to remove docker volumes (e.g. Gitlab runners that polute your system).

The command

Below is a quick 'n dirty command to get the job done.

sudo docker volume rm $(sudo docker volume ls -q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment