Docker and CI/CD · Senior · Question 60 of 75
Why do registries need retention policies?
- 1Registries refuse new pushes after one thousand images
- ✓Correct answer: Every CI build pushes images, so storage and cost keep growing
- 3Old images slow down pulls of the newest image tags
Explanation
Keep release tags and recent builds, expire untagged and PR images. Make sure images still referenced by deployments or rollbacks are never deleted.