mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-07 09:25:43 +00:00
10 lines
200 B
Python
10 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)
|