title: docker-compose keeps using old image content
body: <p>We use our gitlab-ci to build fresh images with the latest version of our code.
  These images are day to day built with the <code>latest</code> tag.
  We tag images during the release process.</p>
  
  <p>My problem is related to the <code>latest</code> tag.
  We deploy automatically these images on servers to test our product.</p>
  
  <p>However, on a test server if we pull the latest docker image (verified by its checksum), stop the compose and up it again, we sometime still have the content of the old image (for example a configuration file).</p>
  
  <p>We tried with <code>docker-compose up -d --force-recreate</code> but it doesn't help.</p>
  
  <p>The only way to fix it was:
  <code>
  docker-compose down
  docker system prune -f
  docker rmi $(docker images -q)
  docker-compose pull
  docker-compose up -d
  </code></p>
  
  <p>Any better idea ?</p>