Fix Docker exits prematurely
details:https://github.com/moby/moby/pull/31490/files
This commit is contained in:
parent
6975cd1622
commit
ecec94ee7e
1 changed files with 4 additions and 1 deletions
|
@ -31,7 +31,10 @@ LimitNOFILE=1048576
|
||||||
LimitNPROC=1048576
|
LimitNPROC=1048576
|
||||||
LimitCORE=infinity
|
LimitCORE=infinity
|
||||||
TimeoutStartSec=1min
|
TimeoutStartSec=1min
|
||||||
Restart=on-abnormal
|
# restart the docker process if it exits prematurely
|
||||||
|
Restart=on-failure
|
||||||
|
StartLimitBurst=3
|
||||||
|
StartLimitInterval=60s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in a new issue