docker: process_linux.go:297: getting the final child’s pid from pipe caused \”EOF\””: unknown报错

在centos7上运行容器时报错:

解决: 设置内核参数:

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