@UnstableAPI
    public String getRemoteDockerUnixSocketPath() {
        DockerClientProviderStrategy strategy = getOrInitializeStrategy();
        if (strategy.allowUserOverrides()) {
            String dockerSocketOverride = System.getenv("TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE");
            if (!StringUtils.isBlank(dockerSocketOverride)) {
                return dockerSocketOverride;
            }
        }
        if (strategy.getRemoteDockerUnixSocketPath() != null) {
            return strategy.getRemoteDockerUnixSocketPath();
        }

        URI dockerHost = getTransportConfig().getDockerHost();
        String path = "unix".equals(dockerHost.getScheme()) ? dockerHost.getRawPath() : "/var/run/docker.sock";
        return SystemUtils.IS_OS_WINDOWS ? "/" + path : path;
    }
Checks whether Docker is accessible and {@link #client()} is able to produce a client.

@return true if Docker is available, false if not.
core/src/main/java/org/testcontainers/DockerClientFactory.java