6a6c6aa170
- Fix bsc#1059011 The systemd service helper script used a timeout of 60 seconds to start the daemon, which is insufficient in cases where the daemon takes longer to start. Instead, set the service type from 'simple' to 'notify' and remove the now superfluous helper script. - fix bsc#1057743: Add a Requires: fix_bsc_1057743 which is provided by the newer version of docker-libnetwork. This is necessary because of a versioning bug we found in bsc#1057743. OBS-URL: https://build.opensuse.org/request/show/540191 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=215
37 lines
1.3 KiB
Desktop File
37 lines
1.3 KiB
Desktop File
[Unit]
|
|
Description=Docker Application Container Engine
|
|
Documentation=http://docs.docker.com
|
|
After=network.target containerd.socket containerd.service lvm2-monitor.service SuSEfirewall2.service
|
|
Requires=containerd.socket containerd.service
|
|
|
|
[Service]
|
|
EnvironmentFile=/etc/sysconfig/docker
|
|
|
|
# While Docker has support for socket activation (-H fd://), this is not
|
|
# enabled by default because enabling socket activation means that on boot your
|
|
# containers won't start until someone tries to administer the Docker daemon.
|
|
Type=notify
|
|
ExecStart=/usr/bin/dockerd --containerd /run/containerd/containerd.sock --add-runtime oci=/usr/sbin/docker-runc $DOCKER_NETWORK_OPTIONS $DOCKER_OPTS
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
|
|
# Having non-zero Limit*s causes performance problems due to accounting overhead
|
|
# in the kernel. We recommend using cgroups to do container-local accounting.
|
|
LimitNOFILE=infinity
|
|
LimitNPROC=infinity
|
|
LimitCORE=infinity
|
|
|
|
# Uncomment TasksMax if your systemd version supports it.
|
|
# Only systemd 226 and above support this property.
|
|
TasksMax=infinity
|
|
|
|
# Set delegate yes so that systemd does not reset the cgroups of docker containers
|
|
# Only systemd 218 and above support this property.
|
|
Delegate=yes
|
|
|
|
# This is not necessary because of how we set up containerd.
|
|
#KillMode=process
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|