0
点赞
收藏
分享

微信扫一扫

Error: Cannot perform an interactive login from a non TTY device

北溟有渔夫 2022-05-27 阅读 92

Docker on Windows: interactive tty session gives “cannot enable tty mode on non tty input”

Trying to run a shell into a running container (docker exec -it containerid bash) using DockerToolbox/docker-machine on Windows 7 gives this error:


"cannot enable tty mode on non tty input"

(this runs fine on Mac OS X)

This is logged as an issue ​​here​​. As a workaround, prefix the docker command with winpty, so:


winpty docker exec -it containerid bash

Error: Cannot perform an interactive login from a non TTY device_docker

 


举报

相关推荐

0 条评论