Docker and CI/CD · Junior · Question 62 of 75
Why does image size matter?
- 1Large images use more CPU while the app is running
- ✓Correct answer: Smaller images pull faster and carry less to attack
- 3Registries refuse images larger than 100 MB
Explanation
Every deploy and autoscaling event pulls the image. Fewer packages also means fewer vulnerabilities to patch.