ssh通过容器导致stdin:不是tty

时间:2016-10-26 14:19:56

标签: docker

在我将OS X更新到MacOS Sierra之后,如果我尝试ssh通过本地容器,我会收到此错误:

DELETE FROM Customers WHERE LastName = 'temp'

有什么想法吗?

~ ssh root@192.168.1.34 -p 220
PTY allocation request failed on channel 0
Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.19.0-43-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

stdin: is not a tty

但是,我可以这样执行:

~ docker version
Client:
 Version:      1.12.3-rc1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   bad4d12
 Built:        Tue Oct 25 08:19:41 2016
 OS/Arch:      darwin/amd64
 Experimental: true

Server:
 Version:      1.12.3-rc1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   bad4d12
 Built:        Tue Oct 25 08:19:41 2016
 OS/Arch:      linux/amd64
 Experimental: true

0 个答案:

没有答案