title: How to make docker-compose pull new images?
body: <p>I am using the <code>latest</code> tag in my <code>Dockerfile</code> in the <code>FROM</code> statement:</p>
  <pre><code># Dockerfile
  FROM registry.website.com/base-image:latest
  </code></pre>
  <p>Every time my <code>latest</code> version changes I need to re-pull that image.</p>
  <p>Unfortunately, docker just takes the cached version.</p>
  <p>I tried</p>
  <p><code>docker-compose build --no-cache</code></p>
  <p>and
  <code>docker-compose up --build --force-recreate project</code></p>
  <p>But it always looks like this:</p>
  <pre><code>&gt; docker-compose up --build --force-recreate project
  Building project
  Step 1/12 : FROM registry.website.com/base-image:latest
   ---&gt; e2a0bcaf3dd7
  </code></pre>
  <p>Any ideas why it's not working?</p>