πŸ“Š Docker
Q. What happens if multiple `CMD` instructions are in a Dockerfile?
  • (A) All are executed
  • (B) Only the first is used
  • (C) Only the last is used
  • (D) They are ignored
πŸ’¬ Discuss
βœ… Correct Answer: (C) Only the last is used

Explanation: Only the final `CMD` instruction is used in the image.

Explanation by: Mr. Dubey
Only the final `CMD` instruction is used in the image.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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