Docker and CI/CD · Middle · Question 69 of 75
Why shouldn't you overwrite an existing image tag like 1.4.0?
- ✓Correct answer: Hosts that pulled it differ from new ones
- 2Docker refuses to pull an overwritten tag
- 3Registries delete images with reused tags
Explanation
Different machines would run different code under the same name, and rollbacks become guesswork. Treat release tags as immutable; many registries can enforce it.