Bird
0
0

Which base image type generally helps in reducing Docker image size?

easy📝 Conceptual Q1 of 15
Docker - Image Optimization
Which base image type generally helps in reducing Docker image size?
AAlpine Linux
BUbuntu Full
CWindows Server Core
DCentOS Full
Step-by-Step Solution
Solution:
  1. Step 1: Understand base image impact

    Base images like Alpine Linux are minimal and contain fewer packages, reducing size.
  2. Step 2: Compare common base images

    Ubuntu Full, Windows Server Core, and CentOS Full are larger due to more pre-installed software.
  3. Final Answer:

    Alpine Linux is the smallest base image option. -> Option A
  4. Quick Check:

    Minimal base image = Alpine Linux [OK]
Quick Trick: Use minimal base images like Alpine to reduce size [OK]
Common Mistakes:
  • Choosing full OS images
  • Ignoring base image size
  • Using Windows images for Linux apps

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Docker Quizzes