lib/dockerBuilder.js
function() {
    var stat = fs.existsSync('/var/run/docker.sock');
    if (!stat) {
      stat = process.env.DOCKER_HOST || false;
    }
    return stat;
  }
function() {
    var stat = fs.existsSync('/var/run/docker.sock');
    if (!stat) {
      stat = process.env.DOCKER_HOST || false;
    }
    return stat;
  }
function ( ) { var stat = fs . existsSync ( '/var/run/docker.sock' ) ; if ( ! stat ) { stat = process . env . DOCKER_HOST || false ; } return stat ; }
check that docker is able to run on this system
check that docker is able to run on this system