docker exec -it docker_master /bin/bash -c /usr/local/testinfo
报错:the input device is not a TTY
解决:命令中的-t去去掉
docker exec -i docker_master /bin/bash -c /usr/local/testinfo
这篇博客介绍了在使用Docker执行命令时遇到的'input device is not a TTY'错误,以及如何通过移除命令中的'-t'选项来解决问题。内容涉及到Docker容器的交互式运行和命令行参数的正确使用。
docker exec -it docker_master /bin/bash -c /usr/local/testinfo
报错:the input device is not a TTY
解决:命令中的-t去去掉
docker exec -i docker_master /bin/bash -c /usr/local/testinfo

被折叠的 条评论
为什么被折叠?