David K. Bainbridge | b541504 | 2016-05-13 17:06:10 -0700 | [diff] [blame^] | 1 | [Unit] |
| 2 | Description=Docker Application Container Engine |
| 3 | Documentation=https://docs.docker.com |
| 4 | After=network.target docker.socket |
| 5 | Requires=docker.socket |
| 6 | |
| 7 | [Service] |
| 8 | Type=notify |
| 9 | ExecStart=/usr/bin/docker daemon -H fd:// \ |
| 10 | --insecure-registry 10.100.198.200:5000 \ |
| 11 | --registry-mirror=http://10.100.198.200:5001 \ |
| 12 | --cluster-store=consul://{{ ip }}:8500/swarm \ |
| 13 | --cluster-advertise={{ ip }}:2375 {{ docker_extra }} |
| 14 | MountFlags=master |
| 15 | LimitNOFILE=1048576 |
| 16 | LimitNPROC=1048576 |
| 17 | LimitCORE=infinity |
| 18 | |
| 19 | [Install] |
| 20 | WantedBy=multi-user.target |
| 21 | |