title: How to execute command from one docker container to another
body: <p>I'm creating an application that will allow users to upload video files that will then be put through some processing.</p>
  
  <p>I have two containers.</p>
  
  <ol>
  <li><code>Nginx</code> container that serves the website where users can upload their video files. </li>
  <li>Video processing container that has <code>FFmpeg</code> and some other processing stuff installed.</li>
  </ol>
  
  <p>What I want to achieve. I need container 1 to be able to run a bash script on container 2.</p>
  
  <p>One possibility as far as I can see is to make them communicate over HTTP via an API. But then I would need to install a web server in container 2 and write an API which seems a bit overkill. 
  I just want to execute a bash script. </p>
  
  <p>Any suggestions?  </p>