Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Force to Remove Button for Cascade Deletion of Images and Associated Containers #694

Open
onurkanbakirci opened this issue Jul 28, 2024 · 0 comments
Assignees
Labels
community_new New idea raised by a community contributor

Comments

@onurkanbakirci
Copy link

onurkanbakirci commented Jul 28, 2024

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 or Cascade Delete button.

Screenshot 2024-07-28 at 15 33 14 Screenshot 2024-07-28 at 15 35 01
@onurkanbakirci onurkanbakirci added the community_new New idea raised by a community contributor label Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community_new New idea raised by a community contributor
Projects
None yet
Development

No branches or pull requests

2 participants