Skip to content

[Feature Request] Lock image for pruning #1281

Description

@timovd

Problem statement

Some of my containers are not running 24/7 (e.g. vulnerability scanners grype or trivy), but I start them manually when needed. I can't use the "Prune unused" function to cleanup all unused images, because that will also cleanup the images of containers/stacks that are currently not running. You can always pull the images again, but that seem cumbersome.

Proposed solution

Add button in the "images" tab to lock a specific container (tag).

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions