title: How to delete a docker image?
body: <p>My project includes a Dockerfile to build an image. I've made modifications to that Dockerfile and want to see if it works. So i closed my program and listed all docker images in powershell using <code>docker image ls -a</code>. I deletetd all unused images using <code>docker rmi -f $(docker images -a -q)</code> and <code>docker image prune -a</code>.</p>
  <p>But my image keeps <strong>not</strong> getting deleted, but simply 'untagged':</p>
  <pre><code>Untagged: my_image:latest
  Untagged: my_image@sha256:16eb92a476be0...
  </code></pre>
  <p>All containers are stopped and deleted before trying to remove the image.<br />
  When i restart my application to build a new image, the old one keeps getting used:</p>
  <pre><code>&gt; docker image ls -a
  REPOSITORY                     TAG           IMAGE ID            CREATED      
  /my_image                      latest        0d79904a74b0        2 months ago
  </code></pre>
  <p>How do i actually physically remove the old image so my application can build a new one?</p>