OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown


執行Docker命令:

docker exec -it 6620a3dc4d19 /bin/bash

出現錯誤:

OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown

解決方法(使用不同的命令執行):

  1. docker exec -it 1e33b26152e1 /bin/sh

  2. docker exec -it 1e33b26152e1 /bash

  3. docker exec -it 1e33b26152e1 /sh


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 docker - 進入容器報錯:OCI runtime exec failed: exec failed: container_linux.go:370: starting container process caused: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown OCI runtime create failed: container_linux.go:349: starting container process caused "exec: "bash": executable file not found in $PATH": unknown docker OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"bash\": executable file not found in $PATH": unknown 查看容器ip時報錯“OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "ip": executable file not found in $PATH: unknown” OCI runtime create failed: container_linux.go:380: starting container process caused: exec: 【Docker錯誤】starting container process caused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory": unknown Docker OCI runtime exec failed: exec failed: container_linux.go:344: starting container process caus docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"ping\": executable file not found in $PATH": unknown. docker exec 無法進入容器 OCI runtime exec failed、container_linux.go:348: starting container process caused "process_linux.go:78: starting setns process caused \"fork/exec /proc/self/exe: no such file OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting ..
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM