Home / Report Question

Q. What is the difference between `CMD` and `ENTRYPOINT`?
  • A. CMD is required; ENTRYPOINT is optional
  • B. ENTRYPOINT allows arguments; CMD does not
  • C. CMD provides defaults; ENTRYPOINT defines fixed commands
  • D. They are interchangeable