OCI runtime create failed: container_linux.go:346


重启docker容器报错:

Error response from daemon: Cannot restart container f6: OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:319: getting the final child's pid from pipe caused \"EOF\"": unknown

谷歌搜了一圈大多数都是内核版本低导致安装 Docker 后出现的问题。和我这里的情况明显不同。

通过 journactl -xe 发现内核报错:

kernel: Unable to create nf_conn slab cache

根本原因是 linux 3.10 内核的 BUG,产生的原因是因为内存碎片过多,无法分配大块内存。

重启服务器能直接解决如果不能重启可以参考最后一篇中的如下命令

# 清理页面缓存
echo 1 > /proc/sys/vm/drop_caches 
# or 
sysctl -w vm.drop_caches=1

我在使用上面命令后,服务就能启动了,但是碎片仍然很严重,仍然存在很大的风险。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



猜您在找 OCI runtime create failed: container_linux.go:380: starting container process caused: exec: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: "bash": executable file not found in $PATH": unknown docker启动报错 docker: Error response from daemon: OCI runtime create failed: container_linux.go:348 Docker OCI runtime exec failed: exec failed: container_linux.go:344: starting container process caus Error response from daemon: oci runtime error: container_linux.go:235: starting container process ………… docker OCI runtime exec failed: exec 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:370: starting container process caused: exec: "/bin/bash": stat /bin/bash: no such file or directory: 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” 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 kolla部署openstack allinone,报错APIError: 500 Server Error: Internal Server Error (\"oci runtime error: container_linux.go:235: starting container process caused \"container init exited prematurely
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM