我更新了Fedora服务器23到Fedora服务器25.一切工作正常执行码头工人。这很糟糕,因为我现在有大约28个容器应该运行。我发现这可能是SystemD
的问题,以及cgroups
文件系统如何挂载。所以我加码头更新后不工作
GRUB_CMDLINE_LINUX="systemd.legacy_systemd_cgroup_controller=yes"
但它仍然无法正常工作。在我的系统日志文件,我可以看到一些更多的错误
Jan 30 08:23:50 kindred.one systemd[1]: libcontainer-7475-systemd-test-default-dependencies.scope: Scope has no PIDs. Refusing.
Jan 30 08:23:50 kindred.one systemd[1]: libcontainer-7475-systemd-test-default-dependencies.scope: Scope has no PIDs. Refusing.
,但我没有发现任何有关此错误是有用的。
这是我在终端上的错误。
/usr/bin/docker-current: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"process_linux.go:334: running prestart hook 1 caused \\\"error running hook: exit status 1, stdout: , stderr: \\\"\"\n".
编辑:
这些都是泊坞窗二进制
system_u:object_r:container_runtime_exec_t:s0
如果启用,请尝试禁用SELinux。 – gile
Thnx。它再次运作。但是我对禁用SELinux并不满意。在我的笔记本电脑上,它启用了selinux – minzchickenflavor