Write shell script to clean podman images
This commit is contained in:
@@ -55,3 +55,7 @@ def bake [template: string] {
|
|||||||
print $srcdir
|
print $srcdir
|
||||||
copier copy $srcdir .
|
copier copy $srcdir .
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def podman_image_clean [] {
|
||||||
|
podman rmi ...(^podman images --format=json | from json | where {|e| not ("Names" in $e)} | get Id)
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user