mirror of
https://github.com/containers/podman.git
synced 2025-07-18 01:57:24 +08:00
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)
|