How To Find And Stop All Running Containers In Docker With Sub-Commands

In this video, Matt will demonstrate a few commands to perform actions on multiple containers. This is a trick that Matt wishes someone told him this existed a while ago. If you’re a seasoned Docker user, this might be old news for you. But Matt has been fumbling through running docker stop 32823f2hd, etc… for the past few months. Now he can show you how to stop all running containers, start all stopped containers, remove all containers, remove all containers with a particular name. The best part is, this trick works on other Docker objects as well, such as images. Come check it out. Prerequisites include: Docker