title: Docker and cron environments
body: <p>I have problem with environment variables in docker image..
  I created file: /cron.sh </p>
  
  <pre><code>#!/bin/bash
  
  whoami
  export
  </code></pre>
  
  <p>When I run manual in console: sh /cron.sh is OK (root, full envs) but when I add command to cron that I getting: root, basic envs (not have my variables).</p>
  
  <p>Crontab -e:</p>
  
  <pre><code>* * * * *  /bin/bash /cron.sh &gt; /proc/$(cat /var/run/crond.pid)/fd/1 2&gt;&amp;1
  </code></pre>
  
  <p>Why are the differences?</p>