Fix Docker exits prematurely

details:https://github.com/moby/moby/pull/31490/files
This commit is contained in:
RongZhang 2018-03-07 04:36:39 -06:00 committed by rong.zhang
parent 6975cd1622
commit ecec94ee7e

View file

@ -31,7 +31,10 @@ LimitNOFILE=1048576
LimitNPROC=1048576
LimitCORE=infinity
TimeoutStartSec=1min
Restart=on-abnormal
# restart the docker process if it exits prematurely
Restart=on-failure
StartLimitBurst=3
StartLimitInterval=60s
[Install]
WantedBy=multi-user.target