title: Docker registry will not update images
body: <p>I've set up a docker registry on a remote system. I've pushed some images to it. I've made changes to these images and want to update these images so when I pull them I get the most recent version. How can I guarantee I always get the newest version?</p>
  
  <p>I tried to tag my image with :latest, but that doesn't seem to do anything. I also ensured the image gets built anew with the --no-cache flag.</p>
  
  <p>This is what I do at the moment:</p>
  
  <p>I build an image via</p>
  
  <pre><code>docker image build --tag karaf .
  </code></pre>
  
  <p>I tag that image with</p>
  
  <pre><code>docker image tag karaf outserver.at:5000/karaf
  </code></pre>
  
  <p>I push that image with</p>
  
  <pre><code>docker push outserver.at:5000/karaf
  </code></pre>
  
  <p>I pull the image on some destination system via</p>
  
  <pre><code>docker pull outserver.at:5000/karaf
  </code></pre>
  
  <p>I start my docker-compose file which has these images as services via</p>
  
  <pre><code>docker-compose up
  </code></pre>
  
  <p>I would expect the push command to just overwrite the existing image on the registry with the newer image. Logically, if I pull that image on the destination system, I would expect the image to be updated. But actually, the image I get is outdated.</p>