public static boolean dockerExecutionDriverSupportsExec() {
        String executionDriver = DockerClientFactory.instance().getActiveExecutionDriver();

        // Could be null starting from Docker 1.13
        return executionDriver == null || !executionDriver.startsWith("lxc");
    }
Provides utility methods for determining facts about the test environment.
core/src/main/java/org/testcontainers/utility/TestEnvironment.java