FS#53271 - [docker] systemd 233 breaks docker with cgroups v2
Attached to Project:
Community Packages
Opened by Ike Devolder (BlackEagle) - Sunday, 12 March 2017, 13:22 GMT
Last edited by Sébastien Luttringer (seblu) - Friday, 31 March 2017, 23:27 GMT
Opened by Ike Devolder (BlackEagle) - Sunday, 12 March 2017, 13:22 GMT
Last edited by Sébastien Luttringer (seblu) - Friday, 31 March 2017, 23:27 GMT
|
Details
Description:
With systemd 233 the unified cgroups is mounted automatically, this breaks docker. current workaround is to add the following to your kernel commandline: systemd.legacy_systemd_cgroup_controller=yes Additional info: * package version(s) * config and/or log files etc. Following bug reports with the workaround and proposed patch can be found here: https://github.com/docker/docker/issues/28109 https://github.com/docker/docker/issues/16238 https://github.com/opencontainers/runc/issues/1175 Steps to reproduce: update with testing and systemd 233 and get: container_linux.go:247: starting container process caused "process_linux.go:359: container init caused \"rootfs_linux.go:54: mounting \\\"cgroup\\\" to rootfs \\\"/var/lib/docker/overlay2/70b60a3304d0a492071d467b381ba6164348069c33004f9e6b439eb706fcc89b/merged\\\" at \\\"/sys/fs/cgroup\\\" caused \\\"no subsystem for mount\\\"\"" |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Friday, 31 March 2017, 23:27 GMT
Reason for closing: Fixed
Additional comments about closing: docker-1:17.03.1-1-
Friday, 31 March 2017, 23:27 GMT
Reason for closing: Fixed
Additional comments about closing: docker-1:17.03.1-1-
Applying this patch[1], which updates runc in docker and adjusting the _RUNC_COMMIT variable should make docker work again.
_RUNC_COMMIT=54296cf40ad8143b62dbcaa1d90e520a2136ddfe
[1] https://github.com/docker/docker/pull/31666.patch
[1] https://github.com/docker/docker/releases/tag/v17.03.1-ce