Is CMD in parent docker overriden by CMD/ENTRYPOINT in child docker image?
问题 I am trying to get my hands dirty on docker. I know that CMD or ENTRYPOINT is used to specify the start/runnable command for docker image and CMD is overridden by ENTRYPOINT . But I don't know, how does it works, when parent docker image, also has CMD OR ENTRYPOINT or BOTH ? Does child image inherit those values from parent docker image ? If so, then does ENTRYPOINT in parent image override CMD in child image ? I know that such question is already discussed at https://github.com/docker