pullImage(docker, dockerOptions.repo, function(err) {

        if (err) {
          npulls = 0;
          return done(err);