R

Ram Sharma • 193.86K Points
Coach

Q. What is the purpose of Docker's multi-stage builds?

  • (A) To build images with multiple base images to reduce the image size
  • (B) To add multiple layers to a Docker image
  • (C) To automate the deployment of containers
  • (D) To run containers on multiple machines

Explanation by: Ram Sharma
Multi-stage builds allow you to use multiple FROM statements in the Dockerfile to reduce image size by removing unnecessary dependencies.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.