private String resolvePath() {
        String result = getResourcePath();

        // Special case for Windows
        if (SystemUtils.IS_OS_WINDOWS && result.startsWith("/")) {
            // Remove leading /
            result = result.substring(1);
        }

        return result;
    }
Obtain a path that the Docker daemon should be able to use to volume mount a file/resource
into a container. If this is a classpath resource residing in a JAR, it will be extracted to
a temporary location so that the Docker daemon is able to access it.

@return a volume-mountable path.
core/src/main/java/org/testcontainers/utility/MountableFile.java