b9edac6148
This PS enables the mount propogation feature gate. Change-Id: I7a37f45ff6061b144c6f04233712cd84fccb3e83
36 lines
1.1 KiB
Django/Jinja
36 lines
1.1 KiB
Django/Jinja
[Unit]
|
|
Description=Docker Application Container Engine
|
|
Documentation=http://docs.docker.com
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=notify
|
|
NotifyAccess=all
|
|
Environment=GOTRACEBACK=crash
|
|
Environment=DOCKER_HTTP_HOST_COMPAT=1
|
|
Environment=PATH=/usr/libexec/docker:/usr/bin:/usr/sbin
|
|
ExecStart=/usr/bin/dockerd-current \
|
|
--add-runtime docker-runc=/usr/libexec/docker/docker-runc-current \
|
|
--default-runtime=docker-runc \
|
|
--exec-opt native.cgroupdriver=systemd \
|
|
--userland-proxy-path=/usr/libexec/docker/docker-proxy-current \
|
|
--seccomp-profile=/etc/docker/seccomp.json \
|
|
--graph=/var/lib/docker \
|
|
--storage-driver=overlay2 \
|
|
--log-driver=json-file \
|
|
--iptables=false
|
|
# NOTE(portdirect): fix mount propagation for CentOS, this is done post start,
|
|
# as docker seems to reset this.
|
|
ExecStartPost=/usr/bin/mount --make-rshared /
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
LimitNOFILE=1048576
|
|
LimitNPROC=1048576
|
|
LimitCORE=infinity
|
|
TimeoutStartSec=0
|
|
Restart=on-abnormal
|
|
MountFlags=share
|
|
KillMode=process
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|