Bird
0
0

What is a key characteristic of the scratch base image in Docker?

easy📝 Conceptual Q1 of 15
Docker - Image Optimization
What is a key characteristic of the scratch base image in Docker?
AIt includes a full Linux distribution
BIt is an empty image with no files or packages included
CIt contains pre-installed debugging tools
DIt is based on Alpine Linux
Step-by-Step Solution
Solution:
  1. Step 1: Understand what scratch means

    The scratch image is a special Docker image that is completely empty. It has no files, no shell, no package manager, nothing.
  2. Step 2: Compare options with this fact

    Options B, C, and D describe images with content or tools, which scratch does not have.
  3. Final Answer:

    It is an empty image with no files or packages included -> Option B
  4. Quick Check:

    scratch = empty base image [OK]
Quick Trick: Scratch image is completely empty, no files included [OK]
Common Mistakes:
  • Thinking scratch includes any Linux tools
  • Confusing scratch with Alpine or Ubuntu base images

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Docker Quizzes