title: Docker commands via php shell_exec
body: <p>I'm trying run command from my index.php:</p>
  
  <pre><code>$output = shell_exec('docker images');
  </code></pre>
  
  <p>and then output results,</p>
  
  <p>or run new container the same way:</p>
  
  <pre><code>$output = shell_exec('docker run hello-world');
  </code></pre>
  
  <p>It seems that I could not run ANY docker cmd via php.</p>
  
  <p>How do it properly?</p>