       })
     return @docker
 
+  installedWithDocker: false
   init: () ->
     super()
       .catch((error) =>

      )

  run: (args, options = {}) ->
    if @docker and @docker.isInstalled
      return @runImage(args, options)
    super(args, options)


        @docker.init()
          .then(=> @runImage(@versionArgs, @versionRunOptions))
          .then((text) => @saveVersion(text))
          .then(() => @installedWithDocker = true)
          .then(=> @)
          .catch((dockerError) =>
            @debug(dockerError)
