Why are container's size and image's size equivalent?
<p>The <a href="https://docs.docker.com/engine/reference/glossary/#container" rel="nofollow noreferrer">glossary</a> of docker says that</p>
<blockquote>
<p>A Docker container consists of</p>
<ul>
<li><p>A Docker image</p>
</li>
<li><p>Execution environment</p>
</li>
<li><p>A standard set of instructions</p>
</li>
</ul>
</blockquote>
<p>When I type <code>docker images</code>, I see 324.2 MB in <code>SIZE</code> column of <code>mysql:5.6</code>.</p>
<p>When I type <code>docker ps -s -a</code>, this command tells me that the size of the container, which is created by <code>docker run mysql:5.6 -d</code>, is also 324.2 MB.</p>
<p>Does this mean that <code>Execution environment</code> and <code>A standard set of instructions</code> do not occupy any disk space?</p>
<p>or the disk space they use is less than 0.1 MB?</p>
<p>or <code>docker ps -s -a</code> just lists the size of the container's image?</p>