Skip to content
Discussion options

You must be logged in to vote

Looks like we may not have a good place where the filters are documented. This code shows the supported filters for image operations:

func adaptImage(o interface{}) filters.Adaptor {

In short, it supports name, target, labels, and annotations; so for your use case, name is the missing link:

$ sudo ctr images ls name==docker.io/library/alpine:latest
REF                             TYPE                                                      DIGEST                                                                  SIZE    PLATFORMS                                                                                LABELS
docker.io/l…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dmitry-irtegov
Comment options

@dmitry-irtegov
Comment options

Answer selected by dmitry-irtegov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants