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