What happens to entrypoint of Docker parent image when child defines another one?
<p>Let's say I've got the Docker image <em>parent</em> built by this Dockerfile:</p>

<pre><code>FROM ubuntu
ENTRYPOINT ["parent-entry"]
</code></pre>

<p>Now I inherit from this <em>parent</em> image in my child image built with this code:</p>

<pre><code>FROM parent
ENTRYPOINT ["child-entry"]
</code></pre>

<p>As far as I have tested it the entrypoint of the child image overwrites the one in the parent image.</p>

<p>But since I am new to Docker I am not sure about this. My research also hasn't yet resulted in a satisfying answer. So is the assumption above correct?</p>