tty: teletype, teletypewriter
pseudo-tty 伪终端
-t assigns a pseudo-tty or terminal inside our new container-i make an interactive connection
docker run -i -t
原文:http://www.cnblogs.com/jHenry/p/4248048.html