美文网首页
OCI runtime exec failed: exec fa

OCI runtime exec failed: exec fa

作者: for笑 | 来源:发表于2025-04-02 17:49 被阅读0次

kubectl exec -it podname bash返回如下信息,修改deployment,添加stdin和tty选项

kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
Defaulted container "fast-one" out of: fast-one, agent-sidecar (init)
error: Internal error occurred: error executing command in container: failed to exec in container: failed to start exec "9fa6c9a33fd865a207ccd3a2ac3a4be6cb84c19905cfb8d97857f03faec91092": OCI runtime exec failed: exec failed: unable to start container process: open /dev/pts/0: operation not permitted: unknown
        containers:
        - image: xxxx.xxxx.xxxx/aaa/bbb:cccc
          stdin: true
          tty: true

有一种说发是因为runc 版本低,1.1.3.可以替换runc升到更高版本.待确定

相关文章

网友评论

      本文标题:OCI runtime exec failed: exec fa

      本文链接:https://www.haomeiwen.com/subject/tflivjtx.html