title: Unable to create the storage directory every time I clear the cache inside docker container
body: <p>I am working at a Symfony 3.4 application, using docker.
  The problem is that after I enter in the container and do</p>
  
  <pre><code>php bin/console cache:clear
  </code></pre>
  
  <p>I always have this cache problem:</p>
  
  <pre><code>Unable to create the storage directory (/var/www/app/var/cache/dev/profiler).
  </code></pre>
  
  <p>I know that I can solve it by using:</p>
  
  <pre><code>chmod 777 -R var/cache/* var/logs/*
  </code></pre>
  
  <p>But after I clear the cache again, the problem is still there.
  There is a way to add just a single time the permissions, and after I clear the cache this issue to be solved?</p>
  
  <p>Thank you.</p>