Skip to content

Docker build should have a --force-rm flag #5644

@vincentwoo

Description

@vincentwoo

I understand the desire to keep around errored images/containeres from failed builds, but cleaning up after them is way more work for me than the benefit it provides.

I have automated docker build tasks that can chew through a ton of images/containers. It would be really nice to have a flag that lets me be sure that no unwanted images/containers are kept around after a build fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions