我更新了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