#!/bin/bash
flag=$(ps | grep dockerd | grep -v "grep" | wc -l)
if [ $flag = "1" ]
then
      echo "docker RUNNING!"
else
      /etc/rc.d/S99docker.sh restart
      #docker start up
fi