Use docker to generate node graph

Hi all,

I am already successfully using docker to generate LaTeX documents from org-mode which works just fine. Now I am trying to use the dot binary inside that container to generate the org graph, but I’m stuck with the error:

user-error: Cannot find executable “/usr/local/bin/docker run --rm -it -v $(pwd):/docs authsec/sphinx dot” to generate the graph. Please adjust ‘org-roam-graph-executable’

I am setting the executable like:

(setq org-roam-graph-executable “/usr/local/bin/docker run --rm -it -v $\(pwd\):/docs authsec/sphinx dot”)

From what I’ve figured out, I guess this error is coming from the code that checks if this binary is available on the system, but I don’t know how to bypass this check or set it up to use the containerized dot binary.

I hope I’ve correctly categorized this into development, as I don’t really understand elisp and this might just be a simple configuration issue … If not would it make sense to include that option in the source, or can someone tell me how this can be implemented for myself only?