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 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