aboutsummaryrefslogtreecommitdiff
path: root/contrib/python/podman/examples/eg_image_list.py
blob: ef31fd70830a0b8a9b922741e09f02364aa139cd (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env python3
"""Example: Show all images on system."""

import podman

print('{}\n'.format(__doc__))

with podman.Client() as client:
    for img in client.images.list():
        print(img)