环境:Linux vagrant 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
在container_process.go中不添加 "cmd.Dir = "/root/busybox" 这行,不会报/proc/self/exe 文件不存在。
报错信息是:{"level":"error","msg":"Exec loop path error exec: \"sh\": executable file not found in $PATH","time":"2021-05-27T14:04:15Z"}
{"level":"fatal","msg":"exec: \"sh\": executable file not found in $PATH","time":"2021-05-27T14:04:15Z"}
在container_process.go中添加 "cmd.Dir = "/root/busybox"这行后,报错"fork/exec /proc/self/exe: no such file or directory"
(mount确认已经绑定过 #mount: /proc: proc already mounted on /proc.)
环境:Linux vagrant 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
在container_process.go中不添加 "cmd.Dir = "/root/busybox" 这行,不会报/proc/self/exe 文件不存在。 报错信息是:{"level":"error","msg":"Exec loop path error exec: \"sh\": executable file not found in $PATH","time":"2021-05-27T14:04:15Z"} {"level":"fatal","msg":"exec: \"sh\": executable file not found in $PATH","time":"2021-05-27T14:04:15Z"}
在container_process.go中添加 "cmd.Dir = "/root/busybox"这行后,报错"fork/exec /proc/self/exe: no such file or directory" (mount确认已经绑定过 #mount: /proc: proc already mounted on /proc.)