ComfyUI-Distributed: Unable to Launch Worker (Running in Docker Linux)

Image

Not sure where it’s picking up basedir from (environment variable perhaps?) but nonetheless, am unable to get it to work.

Tail of Comfy Log in text:

[ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE]
[ComfyUI-Manager] All startup tasks have been completed.
[Distributed] API Error: Failed to launch worker: Could not find main.py in /basedir
[Distributed] API Error: Failed to launch worker: Could not find main.py in /basedir

The Docker image I am using is mmartial/comfyui-nvidia-docker:ubuntu24_cuda12.8-latest (Git repo: https://github.com/mmartial/ComfyUI-Nvidia-Docker)

Also, here is what /basedir is from perspective of the container:

mike@blackwell-b:~$ docker exec -it comfyui-a bash
comfytoo@7fe29a71dcf8:/$ ls -lart /basedir
total 68
drwxr-xr-x 24 ubuntu ubuntu  4096 May 31 00:16 models
drwxr-xr-x  1 root   root    4096 Jun 17 02:49 ..
drwxr-xr-x  3 ubuntu ubuntu 12288 Jul  9 02:36 input
drwxr-xr-x  6 ubuntu ubuntu 28672 Jul  9 23:17 output
drwxr-xr-x 40 ubuntu ubuntu  4096 Jul  9 23:59 custom_nodes
drwxr-xr-x  3 ubuntu ubuntu  4096 Jul  9 23:59 user
drwxr-xr-x  2 ubuntu ubuntu  4096 Jul  9 23:59 temp
drwxr-xr-x  8 ubuntu ubuntu  4096 Jul  9 23:59 .
comfytoo@7fe29a71dcf8:/$ 

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Comments: 19 (9 by maintainers)

Commits related to this issue

Most upvoted comments

Awesome! Thanks so much for letting me know. I’ll add that to the README.