ComfyUI build with support for custom UID/GID
100K+
Builds of ComfyUI image from https://github.com/mmartial/ComfyUI-Nvidia-Docker
The Dockerfile and the project's README.md are available in this GitHub repository.
Quick run:
make run basedir
docker run --rm -it --runtime nvidia --gpus all -v `pwd`/run:/comfy/mnt -v `pwd`/basedir:/basedir -e USE_UV=true -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
Please see the "Running the container" section from the GitHub repository for further details on the required mount and optional environment.
No models are installed; this exercise is left to the end-user; those go in the basedir/models folder.
Output files will be in the basedir/output folder.
When a latest shift happens, some installed custom_nodes will need to be fixed (Try Fix) for Import Failed nodes in ComfyUI-Manager.
This manual step should only be needed once per the latest tag update to a different Ubuntu+CUDA version.
To avoid latest changing your container's Ubuntu or CUDA version, manually select the docker image tag from the list of available tags.
| tag | aka | build | note |
|---|---|---|---|
| ubuntu22_cuda12.2-latest | linux/amd64 | Ubuntu 22 base image, deprecated as of 20260605 release | |
| ubuntu22_cuda12.3-latest | linux/amd64 | Deprecated as of 20260906 release | |
| ubuntu22_cuda12.4-latest | linux/amd64 | Deprecated as of 20260906 release | |
| ubuntu24_cuda12.5-latest | linux/amd64 | Ubuntu 24 base image, was latest up to 20250320 release | |
| ubuntu24_cuda12.6-latest | linux/amd64 | was latest up to 20260509 release | |
| ubuntu24_cuda12.8-latest | linux/amd64 | was latest up to 20260605 release -- minimum required for Blackwell (inc RTX 50xx) hardware (see "Blackwell support" section) | |
| ubuntu24_cuda12.9-latest | latest | linux/amd64 | latest as of 20260605 release -- upgrade needed due to "... Deprecating CUDA 12.8 (Release 2.12)" |
| ubuntu24_cuda13.0-latest | linux/amd64 | ||
| ubuntu24_cuda13.1-latest | linux/amd64 | ||
| ubuntu24_cuda13.2-latest | linux/amd64 | ||
| ubuntu26_cuda13.3-latest | linux/amd64 | Ubuntu 26 base image, untested | |
| ubuntu24_cuda13.1-dgx-latest | linux/arm64 | DGX build, recommended for onnxruntime support | |
| ubuntu26_cuda13.2-dgx-latest | linux/arm64 | DGX build | |
| ubuntu26_cuda13.3-dgx-latest | linux/arm64 | DGX build, Ubuntu 26 base image |
Content type
Image
Digest
sha256:94858f8a0…
Size
6.3 GB
Last updated
16 days ago
docker pull mmartial/comfyui-nvidia-docker