Docker documentation - How "filter" option works for container "ls" command?

Viewed 30
1 Answers

docker container ls is the same as docker ps, so you can refer to that documentation page for a comprehensive description of that flag:

The filtering flag (-f or --filter) format is a key=value pair. If there is more than one filter, then pass multiple flags (e.g. --filter "foo=bar" --filter "bif=baz")

the doc page also shows a list of all supported filters together with examples

Related