mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-27 21:47:12 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import docker
|
||||
|
||||
client = docker.from_env()
|
||||
info = client.info()
|
||||
images = client.images.list()
|
||||
|
||||
assert len(images) > 0
|
||||
|
||||
print('Version:', info['ServerVersion'])
|
||||
print('Images:')
|
||||
for i in images:
|
||||
print(i.tags[0])
|
||||
Reference in New Issue
Block a user