A

Admin • 828.03K Points
Coach

Q. Which best practice helps reduce Docker image size?

  • (A) Use multiple COPY instructions
  • (B) Use large base images
  • (C) Combine RUN commands with &&
  • (D) Avoid ENV instructions

Explanation by: Admin
Combining RUN commands reduces the number of layers and helps minimize image size.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.