mirror of
https://github.com/containers/podman.git
synced 2026-10-13 19:38:11 -04:00
Signed-off-by: Jhon Honce <jhonce@redhat.com> Closes: #870 Approved by: rhatdan
11 lines
200 B
Python
11 lines
200 B
Python
#!/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)
|