Skip to content

Request docs change - What are the options for the --filter in container ls #10788

@RoelTiny

Description

@RoelTiny

File: engine/reference/commandline/container_ls.md

To filter containers by image apparently I have to use 'ancestor' which works perfectly but i could not find in the docs and had to google for.

I know of the following options:
name=string - works with partial similarity so if name is 'alice' searching name=al will return that container
ancestor=string - only works with complete match so image is alice, ancestor=al won't return this container, have to search ancestor=alice
id=string - also works with partial similarity

Are there others?

Thx in advance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions