HomeVyOS Platform

container: T6074: do not allow deleting images which have a container running

Description

container: T6074: do not allow deleting images which have a container running

The current VyOS container image manipulation "delete container image" command
allows force removal of container images - even if they still have a container
running.

Drop the --force option from the op-mode script.

vyos@vyos:~$ delete container image 2636705a815a
Error: image used by 6adb0175d47f.. image is in use by a container: consider
listing external containers and force-removing image

Details

Provenance
c-poAuthored on Feb 27 2024, 9:20 PM
Parents
rVYOSONEX8b87836b371f: Merge pull request #3049 from sarthurdev/T6063
Branches
Loading...
Tags
Loading...