Docker Community Forums

Share and learn in the Docker community.

Globbing image and container names, docker stop project_*, docker rmi *

I really wish I could docker stop project_* particularly when I’m switching to a new project or different branches during development and forget to shut down an old compose stack… or just for general house keeping when I’m developing containers or compose stacks…

docker stop project*
docker rm project*
docker rmi project*:<none>