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

How to fix docker OCI runtime create failed

我正在尝试在 Pterodactyl 面板中启动服务器,但是当我单击“启动”按钮时,守护程序出现错误:

    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,但它不起作用。

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