SpinTheMic
Pro

Interview practice question

Image is over 2 GB

Cloud & DevOps · Docker · Beginner

Your application's Docker image is over 2 GB. How would you make it smaller?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Slim/minimal base image.
  • Multi-stage build: leave build tools behind.
  • .dockerignore.
  • Clean package caches in same RUN.
  • Inspect layers (docker history, dive).
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics