Class DockerManager
- java.lang.Object
-
- dev.lydtech.component.framework.extension.DockerManager
-
public final class DockerManager extends Object
-
-
Constructor Summary
Constructors Constructor Description DockerManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static voidcaptureDockerContainerPorts(com.github.dockerjava.api.DockerClient dockerClient)protected static com.github.dockerjava.api.DockerClientgetDockerClient()protected static booleanshouldPerformSetup(com.github.dockerjava.api.DockerClient dockerClient)Skip TestContainers setup if: - Main container is running (it has the expected prefix and label) AND - TestContainers container is not running
-
-
-
Method Detail
-
getDockerClient
protected static com.github.dockerjava.api.DockerClient getDockerClient()
-
shouldPerformSetup
protected static boolean shouldPerformSetup(com.github.dockerjava.api.DockerClient dockerClient)
Skip TestContainers setup if: - Main container is running (it has the expected prefix and label) AND - TestContainers container is not running
-
captureDockerContainerPorts
protected static void captureDockerContainerPorts(com.github.dockerjava.api.DockerClient dockerClient)
-
-