如何修复Docker OCI运行时创建失败

时间:2019-08-08 14:36:02

标签: docker docker-run

我试图在翼手龙面板中启动服务器,但是当我单击“开始”按钮时,守护程序出现错误:

    Error: (HTTP code 500) server error - OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:430: container init caused \"process_linux.go:396: setting cgroup config for procHooks process caused \\\"failed to write 1 to memory.oom_control: write /sys/fs/cgroup/memory/docker/5bf33f851f0628cdb2a087b3c3e9b7f0442281c12a95a532abbb1f797efd9c38/memory.oom_control: invalid argument\\\"\"": unknown 
        at /data/daemon/node_modules/docker-modem/lib/modem.js:254:17
        at getCause (/data/daemon/node_modules/docker-modem/lib/modem.js:284:7)
        at Modem.buildPayload (/data/daemon/node_modules/docker-modem/lib/modem.js:253:5)
        at IncomingMessage.<anonymous> (/data/daemon/node_modules/docker-modem/lib/modem.js:229:14)
        at emitNone (events.js:111:20)
        at IncomingMessage.emit (events.js:208:7)
        at endReadableNT (_stream_readable.js:1064:12)
        at _combinedTickCallback (internal/process/next_tick.js:139:11)
        at process._tickDomainCallback (internal/process/next_tick.js:219:9)

我尝试重新安装Docker并在面板中禁用了OOM Killer,但是它不起作用。

1 个答案:

答案 0 :(得分:0)

也许您可以在服务器构建配置中启用OOM Killer:https://discordapp.com/channels/122900397965705216/272796619592695808/612444175367012352