github.com/hustcat/docker@v1.3.3-0.20160314103604-901c67a8eeab/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/docker daemon -H fd://
    13  MountFlags=slave
    14  LimitNOFILE=1048576
    15  LimitNPROC=1048576
    16  LimitCORE=infinity
    17  TimeoutStartSec=0
    18  # set delegate yes so that systemd does not reset the cgroups of docker containers
    19  Delegate=yes
    20  
    21  [Install]
    22  WantedBy=multi-user.target