diff options
author | Christian Breunig <christian@breunig.cc> | 2024-02-24 09:25:42 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-02-24 09:32:54 +0100 |
commit | 9e51a1661fac3e0d762cffdd28705e7e4bad76e9 (patch) | |
tree | c4da3accef8c12c3ccd3e6e7054a51d2779fb884 /op-mode-definitions | |
parent | f54cf0873353da006bb6470e9b5dee7c8c19442d (diff) | |
download | vyos-1x-9e51a1661fac3e0d762cffdd28705e7e4bad76e9.tar.gz vyos-1x-9e51a1661fac3e0d762cffdd28705e7e4bad76e9.zip |
container: T6060: support removing all container images at once via op-mode
cpo@LR1.wue3:~$ show container image
REPOSITORY TAG IMAGE ID CREATED SIZE
docker.io/library/busybox latest 3f57d9401f8d 5 weeks ago 4.5 MB
docker.io/jacobalberty/unifi v7.5 f6df690d6c67 4 months ago 827 MB
docker.io/jacobalberty/unifi v7.4 7838b75ef7b9 7 months ago 786 MB
cpo@LR1.wue3:~$ delete container image
Possible completions:
3f57d9401f8d Delete container image
7838b75ef7b9
all
f6df690d6c67
cpo@LR1.wue3:~$ delete container image all
cpo@LR1.wue3:~$ show container image
REPOSITORY TAG IMAGE ID CREATED SIZE
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/container.xml.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/op-mode-definitions/container.xml.in b/op-mode-definitions/container.xml.in index 96c582a83..4aa13e913 100644 --- a/op-mode-definitions/container.xml.in +++ b/op-mode-definitions/container.xml.in @@ -41,6 +41,7 @@ <properties> <help>Delete container image</help> <completionHelp> + <list>all</list> <script>sudo podman image ls -q</script> </completionHelp> </properties> |