private Path resolveSocketPath() {
        return tryEnv()
            .orElseGet(() -> {
                Path homePath = Paths.get(System.getProperty("user.home")).resolve(".docker").resolve("run");
                return tryFolder(homePath)
                    .orElseGet(() -> {
                        Path implicitPath = Paths.get("/run/user/" + LibC.INSTANCE.getuid());
                        return tryFolder(implicitPath).orElse(null);
                    });
            });
    }
@deprecated this class is used by the SPI and should not be used directly
core/src/main/java/org/testcontainers/dockerclient/RootlessDockerClientProviderStrategy.java