This is not a docker bug it affects any type of cgroup made anywhere in the cgroup hierarchy.
Ex: I have service A that forks off child B. I place B in a cgroup that I made at /sys/fs/cgroup/cpu/mycgroup. Reload and restart a service and boom, systemd deletes /sys/fs/cgroup/cpu/mycgroup. /sys/fs/cgroup is not even in any of the systemd controlled cgroup paths, it's just nuking things in the cgroup root that it did not create. Also this is a security issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1546214 Title: Docker containers lose their cgroup after systemd reload To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1546214/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs