解决 Docker 中 'The input device is not a TTY' 错误
解决 Docker 中 ‘The input device is not a TTY’ 错误技术背景在使用 Docker 运行容器时,有时会遇到 “The input device is not a TTY” 错误。TTY 是一种支持转义序列、光标移动等功能的终端接口,源于早期连接到大型机的哑终端,如今由 Linux 命令终端和 SSH 接口提供。当 Docker 尝试分配 TTY(使用 -t 选