πŸ“Š Docker
Q. What is multi-stage build in Dockerfile?
  • (A) Builds images in multiple parts for debugging
  • (B) Using `RUN` multiple times
  • (C) Using multiple `FROM` statements to reduce image size
  • (D) A way to run multiple containers
πŸ’¬ Discuss
βœ… Correct Answer: (C) Using multiple `FROM` statements to reduce image size

Explanation: Multi-stage builds allow you to use one stage to build and another to package the final image.

Explanation by: Mr. Dubey
Multi-stage builds allow you to use one stage to build and another to package the final image.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
28
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
97%
Success Rate