"cannot enable tty mode on non tty input" when running in Docker
Opened this issue · 2 comments
guyellis commented
If I run git commit ...
from the command line which causes a "node script" to spin up a Docker container and mount the volumes in it which subsequently runs the hooks in the container I get the error cannot enable tty mode on non tty input
.
samsonkolge commented
Are you trying to run the command on windows (git bash) if yes then try using
$ winpty docker run -it your_container-name bash
guyellis commented
@samsonkolge No, this is on Cent OS.