mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 21:36:24 +00:00
Check docker unixsocket periodically through monit. If failed, restart docker.
This commit is contained in:
parent
6d465c4d86
commit
fe9e0ca5ce
@ -3,4 +3,6 @@ group docker
|
||||
start program = "/etc/init.d/docker start"
|
||||
stop program = "/etc/init.d/docker stop"
|
||||
if does not exist then restart
|
||||
|
||||
if failed unixsocket /var/run/docker.sock
|
||||
protocol HTTP request "/version"
|
||||
then restart
|
||||
|
Loading…
Reference in New Issue
Block a user