When using docker run -t
the terminal is not recognized as TTY by Ubuntu Zesty:
[rojer@nbmbp ~ master]$ docker run -it --rm ubuntu:xenial tty
/dev/console
[rojer@nbmbp ~ master]$ docker run -it --rm ubuntu:yakkety tty
/dev/console
[rojer@nbmbp ~ master]$ docker run -it --rm ubuntu:zesty tty
not a tty
version is:
[rojer@nbmbp ~ master]$ docker version
Client:
Version: 17.05.0-ce
API version: 1.29
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:10:54 2017
OS/Arch: linux/amd64
Server:
Version: 17.05.0-ce
API version: 1.29 (minimum version 1.12)
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:10:54 2017
OS/Arch: linux/amd64
Experimental: false