blob: 09f5141f13ca1188905cf1df021db5e2dc6f3d6e [file] [log] [blame]
Zsolt Harasztiec7df102016-05-05 13:34:18 -07001[Unit]
2Description=Docker Application Container Engine
3Documentation=https://docs.docker.com
4After=network.target docker.socket
5Requires=docker.socket
6
7[Service]
8Type=notify
9ExecStart=/usr/bin/docker daemon -H fd:// \
10 -H tcp://0.0.0.0:2375 \
11 -H unix:///var/run/docker.sock \
12 --insecure-registry 10.100.198.200:5000 \
13 --registry-mirror=http://10.100.198.200:5001 \
14 --cluster-store=consul://{{ ip }}:8500/swarm \
15 --cluster-advertise={{ ip }}:2375 {{ docker_extra }}
16MountFlags=slave
17LimitNOFILE=1048576
18LimitNPROC=1048576
19LimitCORE=infinity
20
21[Install]
22WantedBy=multi-user.target
23