image is being used by stopped container : <p>I am trying to delete a docker container by this command:</p>

<pre><code>docker rmi &lt;Image-Id&gt;
</code></pre>

<p>Obviously, I have replaced the Image-Id by the Id I get using:</p>

<pre><code>docker images
</code></pre>

<p>But I see the error below:</p>

<pre><code>Error response from daemon: conflict: unable to delete &lt;Image-ID&gt; (must be forced) - image is being used by stopped container xxxxxxxxxxx
</code></pre>
