Docker OCI runtime create failed
docker runtime排查思路
·
pod 或container 现象
container_linux.go:349
error: OCI runtime create failed: container_linux.go:349
1、问题思路
一般碰到这种问题大部分都是本地配置、Dockerfile、docker run 参数
配置文件、打开文件链接数
查开namepspace
cat /proc/sys/user/max_user_namespaces
grep -w 'runc:\[1:CHILD\]: page allocation failure' /var/log/messages | tail -n 4
2、关注内核参数
net.ipv4.ip_forward=1
vm.swappiness=0
fs.file-max=9000000
fs.inotify.max_user_watches = 1000000
fs.inotify.max_user_instances=10240
更多推荐
所有评论(0)