title: Execute another containers command in another container docker
body: <p>I have 2 containers: a Redis container and a container for a Golang application. My Golang application is trying to perform Redis Mass Insertion (<a href="https://redis.io/topics/mass-insert" rel="nofollow noreferrer">https://redis.io/topics/mass-insert</a>) by executing a bash script with the command <code>cat ${FILE}| redis-cli --pipe -h ${HOST}</code>. </p>
  
  <p>However, <code>redis-cli</code> is not found within the PATH system variable and it is not a built-in shell command in the Golang application service.</p>
  
  <p>Hence, I get an <code>exit status 127</code>, which means the given command in not found. I would like to know how I would be able to execute the bash script without <code>redis-cli</code> command in the Golang application service.</p>