check process docker with pidfile /var/run/docker.pid
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