We need to add delegate yes to docker's service file so that it can
manage the cgroups of the processes that it launches without systemd
interfering with them and moving the processes after it is reloaded.
Delegate=
Turns on delegation of further resource control partitioning to
processes of the unit. For unprivileged services (i.e. those
using the User= setting), this allows processes to create a
subhierarchy beneath its control group path. For privileged
services and scopes, this ensures the processes will have all
control group controllers enabled.
This is the proper fix for issue moby/moby#20152
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit e134e666a585b1f13e9e5e371dd93e5ce04a4b34)
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
Upstream-commit: 1120496ca0492d29731befd1460a934ac115e7f8
Component: packaging
Docker CE Packaging
This repo contains the open source scripts for packaging Docker CE products.
This repository is solely maintained by Docker, Inc.
The scripts will build for this list of packages types:
- DEB packages for Ubuntu 18.04 Bionic
- DEB packages for Ubuntu 17.10 Artful
- DEB packages for Ubuntu 16.04 Xenial
- DEB packages for Ubuntu 14.04 Trusty
- DEB packages for Debian 10 Buster
- DEB packages for Debian 9 Stretch
- DEB packages for Debian 8 Jessie
- DEB packages for Debian 7 Wheezy
- RPM packages for Fedora 27
- RPM packages for Fedora 26
- RPM packages for CentOS 7
- TGZ and ZIP files with static binaries