Skip to content

feat: mark anonymous volumes - #45

Merged
maximilianfeix merged 2 commits into
mainfrom
anonymous-volumes
Oct 15, 2026
Merged

maximilianfeix merged 2 commits into
mainfrom
anonymous-volumes

Conversation

@maximilianfeix

Copy link
Copy Markdown
Owner

Volumes labelled com.docker.volume.anonymous (created for an image VOLUME or -v /path) are marked anonymous in text and JSON. These are the volumes docker rm without -v leaves behind. Verified on a disposable Engine 29.9 daemon. Still one docker volume rm hint per orphan; no bulk command.

Docker labels volumes it creates without a name with
com.docker.volume.anonymous (moby daemon/volume/service/service.go).
They are what docker rm without -v leaves behind. No new endpoint;
the label is already in the system df volume list.
@maximilianfeix
maximilianfeix merged commit f7c7fc9 into main Oct 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant