public static JibBuildRunner forBuildToDockerDaemon(
      JibContainerBuilder jibContainerBuilder,
      Containerizer containerizer,
      Consumer<LogEvent> logger,
      HelpfulSuggestions helpfulSuggestions,
      ImageReference targetImageReference,
      Set<String> additionalTags) {
    return new JibBuildRunner(
        jibContainerBuilder,
        containerizer,
        logger,
        helpfulSuggestions,
        buildMessageWithTargetImageReferences(
            targetImageReference, additionalTags, STARTUP_MESSAGE_PREFIX_FOR_DOCKER_DAEMON, "..."),
        buildMessageWithTargetImageReferences(
            targetImageReference, additionalTags, SUCCESS_MESSAGE_PREFIX_FOR_DOCKER_DAEMON, ""));
  }
Creates a runner to build to the Docker daemon. Creates a directory for the cache, if needed.

@param jibContainerBuilder the {@link JibContainerBuilder}
@param containerizer the {@link Containerizer}
@param logger consumer for handling log events
@param helpfulSuggestions suggestions to use in help messages for exceptions
@param targetImageReference the target image reference
@param additionalTags additional tags to push to
@return a {@link JibBuildRunner} for building to a Docker daemon
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/JibBuildRunner.java