Windos系统使用Git Bash运行Docker
在使用Docker的过程中,由于我是在Windows电脑上安装的Docker,在git bash 进入docker容器时报错,信息如下:$ docker exec -it f62e10a24b20 /bin/shthe input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty'按照错误提示,在命令前添加winpty,成功进入容器$ winpty docker exe
原创
2022-01-27 15:36:41 ·
1865 阅读 ·
0 评论