# Use docker to generate node graph

**URL:** <https://org-roam.discourse.group/t/use-docker-to-generate-node-graph/2105>\
**Category:** Development\
**Created:** [October 6, 2021, 7:59pm UTC](https://org-roam.discourse.group/t/use-docker-to-generate-node-graph/2105 "2021-10-06T19:59:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![authsec](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@authsec](https://org-roam.discourse.group/u/authsec)\
**Post date:** [October 6, 2021, 7:59pm UTC](https://org-roam.discourse.group/t/use-docker-to-generate-node-graph/2105/1 "2021-10-06T19:59:53Z")

</div>

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?
