gpouilloux / gnome-shell-extension-docker

An extension for managing docker containers
GNU General Public License v3.0
146 stars 71 forks source link

[Feature] Remove All Stopped Containers #21

Open wyqydsyq opened 7 years ago

wyqydsyq commented 7 years ago

Sometimes my list of docker containers gets long, especially when doing stuff that creates ephemeral (temporary w/ autogenerated names) containers.

Currently I need to run docker system prune to get rid of the dead ones.

It would be nice to have a "Remove Stopped" button in the UI for this extension that removes all stopped containers.

gpouilloux commented 7 years ago

There's already an option to remove a container if it is stopped.

wyqydsyq commented 7 years ago

Indeed, but when you have 20+ containers, manually removing each one can take a while, especially since the UI of this extension appears to be blocked while an operation is in progress.