Added a boundary check before installation

Added check to see if docker is running