Removing image from container registry does not actually delete from disk
I now have 17GB under /var/opt/gitlab/gitlab-rails/shared/registry/docker/registry/v2/blobs, even though I have deleted most of my container images. It looks like the blobs never get deleted.
Then the backup fails because there is not enough disk space left.
It renders an otherwise valuable feature useless.
Surely the blobs should get deleted when the container image is deleted. In addition, in case this process fails for whatever reason, a command to purge orphaned blobs would be useful.
Proposal
Implement a guide on how to fix the registry usage for on-premise installations: omnibus-gitlab!3097 (merged)
The support for -m
is included in %11.10 of Omnibus.
Edited by Jason Yavorska