Skip to content
Snippets Groups Projects
Commit ecec94ee authored by RongZhang's avatar RongZhang Committed by rong.zhang
Browse files

Fix Docker exits prematurely

parent 6975cd16
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,10 @@ LimitNOFILE=1048576 ...@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment