Problem description
Hello. Removal of a Toolbox image from which are derived Toolbox containers is a two-step operation.
'toolbox rm <container_ID> && toolbox rmi <image_ID>'
Attempt as a one-step operation
$ toolbox rmi <image_ID>
Error: image <image_ID> has dependent children
goal: Avoiding the unnecessary print of an error message by offering the possibility to make the removal a one-step operation.
Solution description
Removal of a Toolbox image from which are derived Toolbox containers made a one-step operation.
Suggested interactive output:
$ toolbox rmi <image_ID>
Image <image_ID> has dependent children that must be removed first in order to remove the image.
##IDs of containers derived from the image:##
##<List of containers>##
Do you want to remove these containers? [N/y]: <answer>
Alternatives I have considered
Such removal in Podman is a two-step operation as well. I wish it was an alternative.
Problem description
Hello. Removal of a Toolbox image from which are derived Toolbox containers is a two-step operation.
'
toolbox rm <container_ID> && toolbox rmi <image_ID>'Attempt as a one-step operation
goal: Avoiding the unnecessary print of an error message by offering the possibility to make the removal a one-step operation.
Solution description
Removal of a Toolbox image from which are derived Toolbox containers made a one-step operation.
Suggested interactive output:
Alternatives I have considered
Such removal in Podman is a two-step operation as well. I wish it was an alternative.