summaryrefslogtreecommitdiff
path: root/op-mode-definitions/container.xml.in
AgeCommit message (Collapse)Author
2025-07-29op-mode: T7403: add option for forcefully remove a container imageChristian Breunig
If you have multiple images (tags) loaded for a container which point to the exact same hash - you can only forcefully delete them. vyos@vyos:~$ delete container image 70dc5806 Error: unable to delete image "70dc5806" by ID with more than one tag ([registry.io/foo/bar:v1.0 registry.io/foo/bar:v1.0.1]): please force removal In additon an image that is still beeing used can not be removed from the system as this would cause infinite container restarts. vyos@vyos:~$ delete container image all force Cannot delete image "d205499ae8bb" because it is currently being used by container "3b290f90e83d"!
2025-07-29op-mode: T7403: podman images must be listed as rootChristian Breunig
This partially reverts commit 6b562aae2409 ("op-mode: T7459: eliminate direct use of sudo in op mode commands") as the podman image listing currently only works under superuser rights.
2025-07-24T7626: op-mode: fix several op-mode command for syntax (#4603)Date Huang
* T7626: op-mode: fix several op-mode command for syntax update container image <container name> show environment sensors show log certbot Signed-off-by: Date Huang <tjjh89017@hotmail.com> * Update op-mode-definitions/show-log.xml.in Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Signed-off-by: Date Huang <tjjh89017@hotmail.com> Co-authored-by: Daniil Baturin <daniil@baturin.org> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-17container: T7473: fix show/monitor container log failed when log-driver is ↵opswill
journald
2025-05-16op-mode: T7459: eliminate direct use of sudo in op mode commandsDaniil Baturin
2024-03-23op-mode: T6161: Show container details in JSON formatAdrian L Lange
I made some assumptions about node types, and I expanded the initial request to also work for networks and containers. I found that the "raw" versions of these commands already existed in the python scripts, so I just used the existing flags.
2024-02-24container: T6060: support removing all container images at once via op-modeChristian Breunig
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
2024-01-22op-mode: T5966: Ensure top level property to avoid empty nodeIndrajit Raychaudhuri
Since, we don't have op-mode operation for 'dns dynamic' anymore, we need to add a top level property to avoid empty `templates-op/update/node.def`.
2023-07-08op-mode: T2546: xml: cleanup help stringsChristian Breunig
2023-02-09Revert "container: T4959: Add container registry authentication config for ↵Christian Breunig
containers" This reverts commit b17251334c57c2f6875c19ad4e6c6127aa9e1811.
2023-01-30container: T4959: Add container registry authentication config for containersZen3515
2023-01-09container: T4880: expose add_image/delete_image functions in op-modeJohn Estabrook
Encapsulating the add/delete image commands in the op-mode script allows automatic generation of corresponding API schema definitions.
2022-12-09T4865: Fix to generate container image from the fileViacheslav Hletenko
In case if we want generate own container image from a Dockerfile and if it requires update or install packages in container we get error. As it tries to use default network 'podman' and do own NAT translations via 'iptables'. If fact we don't use iptables in 1.4 As result it cannot build such image. Use '--net host' to fix it.
2022-08-15container: T4609: Fix restart containerViacheslav Hletenko
Add 2 dashes for arg "name"
2022-08-02containers: T4585: Add option restart to containers.pyViacheslav Hletenko
Add option restart to `containers.py`
2022-08-02container: T4585: Rewrite show containerViacheslav Hletenko
Rewrite op-mode: - show container - show container network - show container image to the new vyos.opmode format
2022-05-08container: op-mode: T3852: use XML inline podman commandsChristian Poessinger
Reduce bloat of containers_op.py wrapper script. All commands can be passed directly to podman via the XML script. This also makes the execution faster, as no Python environment needs to be build up.