private String getResourcePath() {
        if (path.contains(".jar!")) {
            resourcePath = extractClassPathResourceToTempLocation(this.path);
        } else {
            resourcePath = unencodeResourceURIToFilePath(path);
        }
        return resourcePath;
    }
Obtain a path in local filesystem 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.

TODO: rename method accordingly and check if really needed like this

@return
core/src/main/java/org/testcontainers/utility/MountableFile.java