github.com/noxiouz/docker@v0.7.3-0.20160629055221-3d231c78e8c5/contrib/init/systemd/docker.service (about) 1 [Unit] 2 Description=Docker Application Container Engine 3 Documentation=https://docs.docker.com 4 After=network.target docker.socket 5 Requires=docker.socket 6 7 [Service] 8 Type=notify 9 # the default is not to use systemd for cgroups because the delegate issues still 10 # exists and systemd currently does not support the cgroup feature set required 11 # for containers run by docker 12 ExecStart=/usr/bin/dockerd -H fd:// 13 ExecReload=/bin/kill -s HUP $MAINPID 14 LimitNOFILE=1048576 15 LimitNPROC=1048576 16 LimitCORE=infinity 17 # Uncomment TasksMax if your systemd version supports it. 18 # Only systemd 226 and above support this version. 19 #TasksMax=infinity 20 TimeoutStartSec=0 21 # set delegate yes so that systemd does not reset the cgroups of docker containers 22 Delegate=yes 23 # kill only the docker process, not all processes in the cgroup 24 KillMode=process 25 26 [Install] 27 WantedBy=multi-user.target