HomeVyOS Platform

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

This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

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

(cherry picked from commit bfc065f2c4dcfc969981453e49b8156330674006)

Details

Provenance
c-poAuthored on Feb 27 2024, 9:20 PM
MergifyCommitted on Feb 28 2024, 7:13 PM
Parents
rVYOSONEX0be3d1f64bea: Merge pull request #3048 from vyos/mergify/bp/sagitta/pr-3046
Branches
Loading...
Tags
Loading...