You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a docker compose ls operation, I can use either the --filter option or the --quiet option but not both together. When --quiet is present, the output is not filtered.
Here's a sample transcript to illustrate:
$ docker compose ls
NAME STATUS CONFIG FILES
repo running(1) /home/example/repo/compose.yaml
test-repo running(2) /home/example/test-repo/compose.yaml
$ docker compose ls --filter "name=^report$"
NAME STATUS CONFIG FILES
$ docker compose ls --quiet
repo
test-repo
$ docker compose ls --filter "name=^report$" --quiet
repo
test-repo
I would expect the last command to have no output, since none of the composer projects match the regular expression for the name.
Steps To Reproduce
No response
Compose Version
$ docker compose version
Docker Compose version v2.21.0
$ docker-compose version
Command 'docker-compose' not found, but can be installed with:
sudo snap install docker # version 20.10.24, or
sudo apt install docker-compose # version 1.29.2-1
See 'snap info docker' for additional versions.
Description
When running a
docker compose ls
operation, I can use either the--filter
option or the--quiet
option but not both together. When--quiet
is present, the output is not filtered.Here's a sample transcript to illustrate:
I would expect the last command to have no output, since none of the composer projects match the regular expression for the name.
Steps To Reproduce
No response
Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: