Class DockerService
java.lang.Object
io.kestra.plugin.scripts.runner.docker.DockerService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.github.dockerjava.api.DockerClientclient(com.github.dockerjava.core.DockerClientConfig dockerClientConfig) static PathcreateConfig(io.kestra.core.runners.RunContext runContext, Object config, List<Credentials> credentials, String image) static Stringstatic StringregistryUrlFromImage(String image)
-
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.IllegalVariableEvaluationExceptionIOException
-
registryUrlFromImage
-