Skip to content

volume (probably others) filter behavior is inconsistent with Docker #3452

@apostasie

Description

@apostasie

Description

docker volume create foo1
docker volume create foo2
docker volume ls --quiet --filter name=foo1 --filter name=foo2

vs.

nerdctl volume create foo1
nerdctl volume create foo2
nerdctl volume ls --quiet --filter name=foo1 --filter name=foo2

Docker does "or", nerdctl does "and".

Discovered while rewriting the volume tests with the new tooling.

Steps to reproduce the issue

na

Describe the results you received and expected

na

What version of nerdctl are you using?

na

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions