Q. What is the effect of using `ENTRYPOINT` with `CMD`?

  • (A) `CMD` replaces `ENTRYPOINT`
  • (B) `CMD` provides arguments to `ENTRYPOINT`
  • (C) `ENTRYPOINT` overrides `CMD`
  • (D) Both are ignored
πŸ’¬ Discuss
βœ… Correct Answer: (B) `CMD` provides arguments to `ENTRYPOINT`
Explanation: When used together, `CMD` supplies default arguments to `ENTRYPOINT`.
Explanation by: Mr. Dubey
When used together, `CMD` supplies default arguments to `ENTRYPOINT`.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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