private Path resolveSocketPath() {
        Path linuxPath = Paths.get(System.getProperty("user.home")).resolve(".docker").resolve("desktop");
        return tryFolder(linuxPath)
            .orElseGet(() -> {
                Path macosPath = Paths.get(System.getProperty("user.home")).resolve(".docker").resolve("run");
                return tryFolder(macosPath).orElse(null);
            });
    }
Look at the following paths:
<ul>
    <li>Linux: ~/.docker/desktop/docker.sock</li>
    <li>MacOS: ~/.docker/run/docker.sock</li>
</ul>

@deprecated this class is used by the SPI and should not be used directly
core/src/main/java/org/testcontainers/dockerclient/DockerDesktopClientProviderStrategy.java