title: How to write bash script for execute PowerShell/Docker command
body: <p>I want to run <code>docker-compose ps</code> or anything else docker command by a bash script.
  I have some problem when I try to use bash script in PowerShell/CMD </p>
  
  <p>Example: test.bash</p>
  
  <pre><code>#!/bin/bash
  docker-compose ps
  </code></pre>
  
  <p>When I try to run:
  <code>test.bash: line 2: docker-compose: command not found</code></p>
  
  <h3>Edit</h3>
  
  <p>It's not the problem of <code>PATH</code>. I can use <code>docker-compose</code> directly in PowerShell/CMD</p>