General Question About Docker Directory and Images

Where is the best location to post a query about trying to properly and swiftly identify the actual full directory

/comfy/mnt

for a docker image in docker desktop via WSL 2 on windows 11? When it is doing the first run I get a partial directory of

/comfy/mnt

which isnt displaying when I am searching for it and isnt the actual correct full directory so how exactly am I supposed to address it if I dont even have the clear full directory shown in the terminal? As a general feedback it would be vastly preferred to provide full context as possible (like full director) of whatever is throwing an error at least for my own use though I know in some contexts of deployment people want these sanitized/partial.

Ive been in like a doom spiral for over 7 hours of mountains of different errors/inexplicable failures that I cant find any solution/documentation for and there isnt any LLM that I’ve tried that has come up with a solution for this stuff either. To be clear I generally love Ubuntu, have used it for years, and the ComfyUI installer as well as portable completely failed to work properly on Windows 11 also. No solution on that front.

The current stack in a sense:
Windows 11
Docker Desktop
WSL 2
Ubuntu 24.04
comfyui-nvidia-docker
Within the Ubuntu terminal I run as instructed:
docker run --rm -it --runtime nvidia --gpus all -v pwd/run:/comfy/mnt -v pwd/basedir:/basedir -e WANTED_UID=id -u -e WANTED_GID=id -g -e BASE_DIRECTORY=/basedir -e SECURITY_LEVEL=normal -p 127.0.0.1:8188:8188 --name comfyui-nvidia mmartial/comfyui-nvidia-docker:latest

(sudo with this also presents the same issue)

-- Found Max driver CUDA version: 13.0 (major: 13, minor: 0)
-- Found Max container CUDA version: 12.6.3 (major: 12, minor: 6)

== Testing write access as the comfy user to the run directory
!! ERROR: Directory /comfy/mnt owned by unexpected user/group, expected 1000:1000, actual 0:0 -- FORCE_CHOWN will not work for this folder, it is a PATH mounted at container startup and requires a manual fix: chown -R 1000:1000 foldername
!! Exiting script (ID: 1)

It fails to create the container which also makes it fairly difficult to figure out from what I know about at least.

Any help would be appreciated.

Welcome to Ubuntu Discourse :slight_smile:

Your post was moved to the relevant category.

For a brief guide on using categories and tags, see here.

Some quick tips:

For general posting guidelines, including using descriptive titles, see here.

When adding terminal or script output, please wrap with code tags by highlighting the text and using either </> in the composer or pressing Ctrl + E on the keyboard.

Thanks.

1 Like

Thank you. This might seem like a dumb question but I havent used the ubuntu support pages in many years. Where exactly is the “make a new post” button? Not sure if there is a problem with something further like my browser but nothing that I saw was there. I cannot possibly imagine that a support forum doesnt have a make a post button. If you have a screenshot I would really appreciate it.

If you click in categories on the left side and select Support and Help you should see the New Topic button.

Let me know if you are not seeing it.

1 Like

It displays now there. Thank you!

1 Like