Add Force to Remove
Button for Cascade Deletion of Images and Associated Containers
#694
Labels
community_new
New idea raised by a community contributor
Tell us about your request
I would like to request the addition of a
Force to Remove
button in Docker Desktop. This feature would allow users to delete an image even if it is currently being used by one or more containers. When this button is used, Docker Desktop would automatically remove the image as well as all associated containers that are using that image.Which service(s) is this request for?
All Docker Desktop apps (Windows, macOS, Linux)
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Currently, when attempting to delete an image that is in use by a container, Docker Desktop throws an error and prevents the deletion. This requires users to manually stop and remove each container associated with the image before being able to delete the image. This process can be cumbersome and time-consuming, especially when managing multiple containers or images. The proposed
Force to Remove
button would simplify and expedite this process by handling the removal of both the image and its dependent containers in one action.Below is a possible location to add
Force to Remove
orCascade Delete
button.The text was updated successfully, but these errors were encountered: