Quickest way to stop and remove your Docker containers all at once…
You’re probably familiar that
will list your containers. With
you have only their container ids.
In this way, a simple way to stop your running containers is
You can also include in this list your already-exited containers by running
In order to remove them, all you have to run is
Cheers :)