Class DockerService

java.lang.Object
io.kestra.plugin.scripts.runner.docker.DockerService

public class DockerService extends Object
  • Constructor Details

    • DockerService

      public DockerService()
  • Method Details

    • client

      public static com.github.dockerjava.api.DockerClient client(com.github.dockerjava.core.DockerClientConfig dockerClientConfig)
    • findHost

      public static String findHost(io.kestra.core.runners.RunContext runContext, String host) throws io.kestra.core.exceptions.IllegalVariableEvaluationException
      Throws:
      io.kestra.core.exceptions.IllegalVariableEvaluationException
    • createConfig

      public static Path createConfig(io.kestra.core.runners.RunContext runContext, @Nullable Object config, @Nullable List<Credentials> credentials, @Nullable String image) throws io.kestra.core.exceptions.IllegalVariableEvaluationException, IOException
      Throws:
      io.kestra.core.exceptions.IllegalVariableEvaluationException
      IOException
    • registryUrlFromImage

      public static String registryUrlFromImage(String image)