Sign inSign up

mmartial/comfyui-nvidia-docker

By mmartial

•Updated 16 days ago

ComfyUI build with support for custom UID/GID

Image
Machine learning & AI
8

100K+

mmartial/comfyui-nvidia-docker repository overview

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.

⁠About "latest" tag

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.

tagakabuildnote
ubuntu22_cuda12.2-latestlinux/amd64Ubuntu 22 base image, deprecated as of 20260605 release
ubuntu22_cuda12.3-latestlinux/amd64Deprecated as of 20260906 release
ubuntu22_cuda12.4-latestlinux/amd64Deprecated as of 20260906 release
ubuntu24_cuda12.5-latestlinux/amd64Ubuntu 24 base image, was latest up to 20250320 release
ubuntu24_cuda12.6-latestlinux/amd64was latest up to 20260509 release
ubuntu24_cuda12.8-latestlinux/amd64was latest up to 20260605 release -- minimum required for Blackwell (inc RTX 50xx) hardware (see "Blackwell support" section)
ubuntu24_cuda12.9-latestlatestlinux/amd64latest as of 20260605 release -- upgrade needed due to "... Deprecating CUDA 12.8 (Release 2.12)"⁠
ubuntu24_cuda13.0-latestlinux/amd64
ubuntu24_cuda13.1-latestlinux/amd64
ubuntu24_cuda13.2-latestlinux/amd64
ubuntu26_cuda13.3-latestlinux/amd64Ubuntu 26 base image, untested
ubuntu24_cuda13.1-dgx-latestlinux/arm64DGX build, recommended for onnxruntime support
ubuntu26_cuda13.2-dgx-latestlinux/arm64DGX build
ubuntu26_cuda13.3-dgx-latestlinux/arm64DGX build, Ubuntu 26 base image

Tag summary

Content type

Image

Digest

sha256:94858f8a0…

Size

6.3 GB

Last updated

16 days ago

docker pull mmartial/comfyui-nvidia-docker