![](/static/66c60d9f/assets/icons/icon-96x96.png)
![](https://lemmy.ml/pictrs/image/q98XK4sKtw.png)
I don’t know if this works in docker
(usually there is 1:1 equivalency between the two), but with podman
you can do something like:
podman stop --filter name=foo
man podman-stop
tells us:
--filter, -f=filter
Filter what containers are going to be stopped. Multiple filters can be given with multiple uses of the --filter flag. Filters with the same key work
inclusive with the only exception being label which is exclusive. Filters with different keys always work exclusive.
This article reads like a press release from SUSE.