blob: 55bcc5025e45effd98f353698a585279c7d8336e [file] [log] [blame]
Sergio Slobodrianee4b2bc2017-06-05 10:08:59 -04001[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.220:5000 \
13 --registry-mirror=http://10.100.198.220: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