37 lines
1.0 KiB
INI
37 lines
1.0 KiB
INI
[Unit]
|
|
Description=Docker Application Container Engine
|
|
Documentation=http://docs.docker.com
|
|
After=network.target
|
|
Wants=docker-storage-setup.service
|
|
Requires=docker-cleanup.timer
|
|
|
|
[Service]
|
|
Type=notify
|
|
NotifyAccess=all
|
|
EnvironmentFile=-/run/flannel/docker
|
|
EnvironmentFile=-/etc/sysconfig/docker
|
|
EnvironmentFile=-/etc/sysconfig/docker-storage
|
|
EnvironmentFile=-/etc/sysconfig/docker-network
|
|
EnvironmentFile=-/run/docker_opts.env
|
|
Environment=GOTRACEBACK=crash
|
|
Environment=DOCKER_HTTP_HOST_COMPAT=1
|
|
Environment=PATH=/usr/libexec/docker:/usr/bin:/usr/sbin
|
|
ExecStart=/usr/bin/dockerd \
|
|
--exec-opt native.cgroupdriver=systemd \
|
|
$DOCKER_OPT_BIP \
|
|
$DOCKER_OPT_IPMASQ \
|
|
$DOCKER_OPT_MTU \
|
|
-s=overlay \
|
|
--log-driver=json-file \
|
|
--insecure-registry=sz-pg-oam-docker-hub-001.tendcloud.com
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
LimitNOFILE=1048576
|
|
LimitNPROC=1048576
|
|
LimitCORE=infinity
|
|
TimeoutStartSec=0
|
|
Restart=on-abnormal
|
|
MountFlags=slave
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|