private void handleOutput(String output, String filePath, ActivityContext context, boolean isVerbose) {
        if (output == null) {
            return;
        }
        if (isVerbose) {
            WorkflowLogger.log(output);
        } else {
            WorkflowLogger.continueActivity(context);
        }
        try {
            HyscaleFilesUtil.updateFile(filePath, output.concat(ToolConstants.NEW_LINE));
        } catch (HyscaleException e) {
            logger.error("Error while writing output to log file: {}", filePath, e);
        }
    }
DockerClientImpl is docker client to docker daemon to perform all
image actions like pull image, tag image, push image etc.
It connects to the docker daemon through an environment
variable @see ImageBuilderConfig.getDockerHost() or through to
the default host based on the operating system.
image-builder/builder-services/src/main/java/io/hyscale/builder/services/docker/impl/DockerRESTClient.java