Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker.GetContainers(true, $"<filter>"); with filter that returns no results results in all results being returned as results #249

Closed
devedse opened this issue Mar 21, 2022 · 1 comment

Comments

@devedse
Copy link
Contributor

devedse commented Mar 21, 2022

For some reason it seems that when I provide a filter to docker.GetContainers which has no matching results ends up with all containers being returned.
When I check the Xunit logs it runs 2 commands which is strange:

Ductus.FluentDocker: cmd: C:\Program Files\Docker\Docker\resources\bin\docker.exe - arg:  -H npipe:https:////./pipe/docker_engine ps  --all --filter expose=5123 --quiet --no-trunc
Ductus.FluentDocker: cmd: C:\Program Files\Docker\Docker\resources\bin\docker.exe - arg:  -H npipe:https:////./pipe/docker_engine ps --all --quiet --no-trunc
Ductus.FluentDocker: cmd: C:\Program Files\Docker\Docker\resources\bin\docker.exe - arg:  -H npipe:https:////./pipe/docker_engine inspect 437775a2c7292c82a82ead90cf3088bf1094cfddd4a4f241291b48179b280b87 613af9b1dbb635db....
<truncated>

image

devedse added a commit to devedse/FluentDocker that referenced this issue Mar 21, 2022
@mariotoffia
Copy link
Owner

Thanks for your PR!! I'll merge it today!! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants