@Override
    public ConditionEvaluationResult evaluateExecutionCondition(ExtensionContext context) {
        try {
            org.testcontainers.DockerClientFactory.instance().client();
            return ConditionEvaluationResult.enabled("Container environment is available");
        } catch (Exception e) {
            return ConditionEvaluationResult.disabled("Container environment is not available: " + e.getMessage());
        }
    }
Condition that checks if a container environment for testcontainers is available.

@author bjorncs
model-integration/src/test/java/ai/vespa/triton/ContainerEnvironmentAvailableCondition.java