美文网首页
OCI runtime create failed: conta

OCI runtime create failed: conta

作者: YiQinGuo | 来源:发表于2019-07-10 17:46 被阅读0次

    jenkins上构建任务,docker in docker 执行docker build报错:

     OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:297: getting the final child's pid from pipe caused \"EOF\"": unknown
    
    

    设置内核参数:

    sysctl -w user.max_user_namespaces=15000 
    

    记录了允许创建的user namespace数量,我的centos7默认是0修改之后就好了。

    相关文章

      网友评论

          本文标题:OCI runtime create failed: conta

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