Skip to content

Watchtower with cleanup doesn't free image space (run system prune) #1332

@Christoph-AK

Description

@Christoph-AK

Describe the bug
After running watchtower with cleanup for a while, my /var/lib/docker/overlay2 directory filled up and wasn't cleaned.

image

I needed to run docker system prune for the space to be freed.

To Reproduce
Run watchtower with cleanup for a while with a frequently updating service, like grafana-oss.

Expected behavior
The space of images gets correctly cleaned up after updates.

Environment
Ubuntu on AWS, Docker version 20.10.14, build a224086

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions