陈六
|
根据百度搜了类似的报错,都是具体的命令可执行文件找不到,但这里的exec -t的-t应该是参数找不到,不知道是怎么回事,请各位大侠支招。
[root@localhost ~]# docker run 5182e96772bf -t -i /bin/sh container_linux.go:247: starting container process caused "exec: \"-t\": executable file not found in $PATH" /usr/bin/docker-current: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: \"-t\": executable file not found in $PATH". [root@localhost ~]#
centos docker版本信息:centos采用最小化安装的。 [root@localhost ~]# cat /etc/centos-release CentOS Linux release 7.5.1804 (Core) [root@localhost ~]# uname -a Linux localhost.localdomain 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux [root@localhost ~]# docker version Client: Version: 1.13.1 API version: 1.26 Package version: docker-1.13.1-68.gitdded712.el7.centos.x86_64 Go version: go1.9.4 Git commit: dded712/1.13.1 Built: Tue Jul 17 18:34:48 2018 OS/Arch: linux/amd64
Server: Version: 1.13.1 API version: 1.26 (minimum version 1.12) Package version: docker-1.13.1-68.gitdded712.el7.centos.x86_64 Go version: go1.9.4 Git commit: dded712/1.13.1 Built: Tue Jul 17 18:34:48 2018 OS/Arch: linux/amd64 Experimental: false
|
2018-08-20 10:44:55
1/1