Last active
November 13, 2017 15:14
-
-
Save fabiojose/3853ff2c472218b4e2ad23b7e5d83b8b to your computer and use it in GitHub Desktop.
Immutable Infrastructure with Terraform & Openshift - docker.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Docker Application Container Engine | |
Documentation=https://docs.docker.com | |
After=network-online.target docker.socket firewalld.service | |
Wants=network-online.target | |
Requires=docker.socket | |
[Service] | |
Type=notify | |
ExecStart=/usr/bin/dockerd -H fd:// --insecure-registry 172.30.0.0/16 | |
ExecReload=/bin/kill -s HUP $MAINPID | |
LimitNOFILE=1048576 | |
LimitNPROC=infinity | |
LimitCORE=infinity | |
TimeoutStartSec=0 | |
Delegate=yes | |
KillMode=process | |
Restart=on-failure | |
StartLimitBurst=3 | |
StartLimitInterval=60s | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment