diff options
Diffstat (limited to 'recipes-containers/docker/files/docker.service')
| -rw-r--r-- | recipes-containers/docker/files/docker.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-containers/docker/files/docker.service b/recipes-containers/docker/files/docker.service new file mode 100644 index 00000000..68010319 --- /dev/null +++ b/recipes-containers/docker/files/docker.service | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=Docker Application Container Engine | ||
| 3 | Documentation=http://docs.docker.com | ||
| 4 | After=network.target docker.socket | ||
| 5 | Requires=docker.socket | ||
| 6 | |||
| 7 | [Service] | ||
| 8 | ExecStart=/usr/bin/docker -d -H fd:// --registry-mirror=http://localhost:5000 --insecure-registry=http://localhost:5000 | ||
| 9 | MountFlags=slave | ||
| 10 | LimitNOFILE=1048576 | ||
| 11 | LimitNPROC=1048576 | ||
| 12 | LimitCORE=infinity | ||
| 13 | |||
| 14 | [Install] | ||
| 15 | WantedBy=multi-user.target | ||
