Interview Prep/Docker/Registry, pull and push errors

Registry disk usage doesn't drop after deleting tags.

IntermediateTroubleshootingRegistry, pull and push errors
Answer

Likely causes → Deleting tags/manifests doesn't delete blobs until garbage collection runs; deletes disabled (REGISTRY_STORAGE_DELETE_ENABLED).

Diagnose → Check registry config for delete.enabled.

Fix →

registry garbage-collect --delete-untagged /etc/docker/registry/config.yml

In Harbor trigger GC from the UI/API.

Prevent → Scheduled GC and retention rules.

All Docker questions Roadmap: Docker & containers

More on Registry, pull and push errors