πŸ“Š Docker
Q. How do you override a CMD at runtime?
  • (A) Using docker override
  • (B) By editing the image
  • (C) By providing a command in `docker run`
  • (D) You cannot override CMD
πŸ’¬ Discuss
βœ… Correct Answer: (C) By providing a command in `docker run`

Explanation: You can override CMD by passing a command after the image name in `docker run`.

Explanation by: Mr. Dubey
You can override CMD by passing a command after the image name in `docker run`.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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