我已经在我的 linux 电脑上安装了 oc 并登录了 openshift。当我跑步时
oc rsh mysql-55-centos7-1-1aa3 ls -al /tmp/
total 72428
drwxrwxrwt. 1 root root 35 Oct 30 00:38 .
drwxr-xr-x. 1 root root 39 Oct 23 23:53 ..
drwxrwxrwt. 2 root root 6 Nov 2 2016 .ICE-unix
drwxrwxrwt. 2 root root 6 Nov 2 2016 .Test-unix
drwxrwxrwt. 2 root root 6 Nov 2 2016 .X11-unix
drwxrwxrwt. 2 root root 6 Nov 2 2016 .XIM-unix
drwxrwxrwt. 2 root root 6 Nov 2 2016 .font-unix
-rwx------. 1 root root 827 Nov 2 2016 ks-script-la2kM
-rwxr-xr-x. 1 1063070000 root 3343400 Oct 24 04:08 mysql
它有效,但是
oc rsh mysql-55-centos7-1-1aa3 mysqldump -h1.1.1.1 -uuser -ppassword data1 > /tmp/data1.sql
command terminated with exit code 126
它不起作用
oc rsh mysql-55-centos7-1-1aa3 mysqldump
rpc error: code = 13 desc = invalid header field value "oci runtime error: exec failed: container_linux.go:247: starting container process caused \"exec: \\\"mysqldump\\\": executable file not found in $PATH\"\n"
command terminated with exit code 126
如何解决问题?