Improve help text for Manage Container Images delete Force option

Description

The tooltip suggests that it will delete an image regardless of the state of the container:

but trying to delete the image of a running container fails even with force:



The docker rmi docs ( ) show -f being used when there is a conflict error

adding the force flag untags the image and then deletes it (but the containers still need to be stopped first)

This situation is unlikely in TrueNAS, but possible if a user tags the same image for multiple custom apps.

I've found a few places, like , saying that using docker rm -f on an image from a running container will untag the image but not actually delete it.

So based on that and the error message in TrueNAS, I don’t think this force option works as suggested by the tooltip, “regardless of the state of containers."


says

I think the only thing we can do here, is to use the same wording as upstream or something like:
"Use force only if other methods fail as it can leave images in a undefined state"
Considering that upstream docs is not clear enough, we shoudln't try to overexplain it here.

Problem/Justification

The Force option use and tooltip are unclear

Impact

None

Attachments

2

Activity

Show:
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Priority

More fields

Katalon Platform

Created 2 days ago
Updated 2 days ago