Skip to main content

Listing images

Similar to the docker images command, the policy CLI allows you list local images:

policy images

Options#

-r, --remote: list images stored in a remote registry

-e, --show-empty: show policies with no images

Example#

$ policy images
|        REPOSITORY        |  TAG  | SIZE  |  CREATED AT  ||--------------------------|-------|-------|--------------|| omrigazitt1/peoplefinder | 1.0.0 | 555 B | 1 minute ago |
$ policy images --remote
|        REPOSITORY        |  TAG  | |--------------------------|-------|| omrigazitt1/peoplefinder | 1.0.0 |