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

      })
    return @docker

  init: () ->
    super()
      .catch((error) =>

      )

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

