First check docker process is running, then proceed
with the rest of the actions.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>