Sergio Slobodrian | ee4b2bc | 2017-06-05 10:08:59 -0400 | [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 | -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 }} |
| 16 | MountFlags=slave |
| 17 | LimitNOFILE=1048576 |
| 18 | LimitNPROC=1048576 |
| 19 | LimitCORE=infinity |
| 20 | |
| 21 | [Install] |
| 22 | WantedBy=multi-user.target |
| 23 | |