πŸ“Š Docker
Q. What is the best practice when copying large files in a Dockerfile?
  • (A) Use multiple `COPY` steps
  • (B) Combine into a single `COPY` step
  • (C) Use `RUN` instead
  • (D) Use `LABEL`
πŸ’¬ Discuss
βœ… Correct Answer: (B) Combine into a single `COPY` step

Explanation: Combining multiple copies into one reduces image layers and size.

Explanation by: Mr. Dubey
Combining multiple copies into one reduces image layers and size.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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