title: GitLab ci cannot start bash in container
body: <p>Good day!
  I am using <code>powershell</code> shell executor for <code>gitlab runner</code>. For the test I need to <code>run bash in my php-fpm container</code> but I get a strange error</p>
  <blockquote>
  <p>docker exec -it phpfpm bash</p>
  </blockquote>
  <blockquote>
  <h6 id="error-bdyy">error:</h6>
  <p>the input device is not a TTY.  If you are using mintty, try prefixing the command with <code>winpty</code></p>
  </blockquote>
  <p>also i tried to run command with winpty prefix</p>
  <blockquote>
  <p>winpty docker exec -it phpfpm bash</p>
  </blockquote>
  <blockquote>
  <h6 id="or-6gbk">or</h6>
  <p>winpty -Xallow-non-tty docker exec -it phpfpm bash</p>
  </blockquote>
  <p>but &quot;winpty&quot; is not internal or external
  command, executable program, or batch file.</p>
  <p>i installed git with standard windown shell option instead of MTY
  also i tried to install winpty but it didn't work. Are there any options to solve this problem or what could be the problem?</p>