Home / Report Question

Q. What happens if both `CMD` and `ENTRYPOINT` are defined?
  • A. `CMD` is ignored
  • B. `ENTRYPOINT` runs first
  • C. `CMD` arguments are passed to `ENTRYPOINT`
  • D. `CMD` and `ENTRYPOINT` conflict