5e2f78424f
The docker-network environment file masks the new values put into /etc/systemd/system/docker.service.d/flannel-options.conf to renumber the docker0 to work correctly with flannel.
37 lines
1.1 KiB
Django/Jinja
37 lines
1.1 KiB
Django/Jinja
[Unit]
|
|
Description=Docker Application Container Engine
|
|
Documentation=http://docs.docker.com
|
|
After=network.target
|
|
Wants=docker-storage-setup.service
|
|
|
|
[Service]
|
|
Type=notify
|
|
NotifyAccess=all
|
|
EnvironmentFile=-/etc/sysconfig/docker
|
|
EnvironmentFile=-/etc/sysconfig/docker-storage
|
|
Environment=GOTRACEBACK=crash
|
|
Environment=DOCKER_HTTP_HOST_COMPAT=1
|
|
Environment=PATH=/usr/libexec/docker:/usr/bin:/usr/sbin
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
Delegate=yes
|
|
KillMode=process
|
|
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 \
|
|
$DOCKER_OPTS \
|
|
$DOCKER_STORAGE_OPTIONS \
|
|
$DOCKER_NETWORK_OPTIONS \
|
|
$DOCKER_DNS_OPTIONS \
|
|
$ADD_REGISTRY \
|
|
$BLOCK_REGISTRY \
|
|
$INSECURE_REGISTRY
|
|
LimitNOFILE=1048576
|
|
LimitNPROC=1048576
|
|
LimitCORE=infinity
|
|
TimeoutStartSec=1min
|
|
Restart=on-abnormal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|