Class DockerSupport
java.lang.Object
io.micronaut.testresources.testcontainers.DockerSupport
Provides utilities around Docker support.
- 
Method Summary
Modifier and TypeMethodDescriptionstatic booleanReturns true if the Docker client is available and ready to accept connections. 
- 
Method Details
- 
isDockerAvailable
public static boolean isDockerAvailable()Returns true if the Docker client is available and ready to accept connections. It runs the check in a separate thread in order to avoid blocking the caller, and times out after 2s. If the client didn't answer after 2 seconds, we consider it's not available.- Returns:
 - true if Docker is available
 
 
 -