<p>I have one running container which uses node:alpine as base image.I want to know version of this image.</p>

rahulpareekyx
<p>You can check the <strong>Dockerfile</strong> of the container if handy.</p>
<p>You can check the first line with <strong>FROM</strong> <code>node:&lt;version&gt;-alpine</code></p>
<p>For example :</p>
<pre><code>FROM node:12.18.1-alpine
ENV NODE_ENV=production
WORKDIR /app
</code></pre>
<p>You can also use the command <code>docker image inspect</code></p>
<p><a href="https://docs.docker.com/engine/reference/commandline/image_inspect/" rel="nofollow noreferrer">https://docs.docker.com/engine/reference/commandline/image_inspect/</a></p>
<p>You can also <strong>exec</strong> into the container to check the version of <strong>Node</strong></p>
<p><strong>Command to check node version:</strong></p>
<pre><code>docker exec -ti &lt;Container name&gt; sh -c &quot;node --version&quot;
</code></pre>
