title: Docker temporary files strategy
body: <p>My docker produces some temporary files.</p>
  
  <p>Is there an encouraged strategy regarding those?</p>
  
  <p>If I put those to <code>/tmp</code>, <a href="https://stackoverflow.com/questions/42815963/are-default-cronjobs-executed-in-a-docker">I'm not sure</a> they'll get cleared.</p>
  
  <p>Or should I expose the volume <code>/tmp</code> from the host machine?</p>
  
  <p>Thanks</p>