Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

kwozyman, to linux in How to take actions on multiple docker containers at once

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:


<span style="color:#323232;">podman stop --filter name=foo
</span>

man podman-stop tells us:


<span style="color:#323232;">   --filter, -f=filter
</span><span style="color:#323232;">       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
</span><span style="color:#323232;">       inclusive with the only exception being label which is exclusive. Filters with different keys always work exclusive.
</span>
  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #