Created
March 10, 2016 12:51
-
-
Save ghaering/1d9e0cae1311f87628d5 to your computer and use it in GitHub Desktop.
My Docker service file for systemd
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
➜ repo git:(master) ✗ sudo cat /etc/systemd/system/docker.service | |
[Unit] | |
Description=Docker Application Container Engine | |
Documentation=https://docs.docker.com | |
After=network.target docker.socket | |
Requires=docker.socket | |
[Service] | |
Type=notify | |
ExecStart=/usr/bin/docker daemon --bip=172.17.0.1/16 -H fd:// | |
TasksMax=infinity | |
#MountFlags=slave | |
MountFlags=shared | |
LimitNOFILE=1048576 | |
LimitNPROC=1048576 | |
LimitCORE=infinity | |
TimeoutStartSec=0 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment