ComfyUI-Nvidia-Docker
ComfyUI-Nvidia-Docker
Application Docker from martial's Repository
Vue d'ensemble
ComfyUI WebUI Dockerfile with Nvidia support, installing ComfyUI from GitHub.
Also installs ComfyUI Manager to simplify integration of additional custom nodes.
The "run directory" contains HF, ComfyUI and venv.
The "basedir" contains input, output and custom_nodes.
The ComfyUI "Manager" is installed to simplify integration of additional custom nodes and their updates.
The "Manager" is also used to update ComfyUI to more recent versions.
All those folders will be created with the WANTED_UID and WANTED_GID parameters (by default using Unraid's default of 99:100) allowing the end-user to place directly into the folders their checkpoints, unet, lora and other required models.
The container comes with no weights/models; you need to obtain those and install them in the proper directories under the mount you have selected for the "run directory".
Output files will be placed into the basedir/output folder within the "basedir" directory.
Please see https://github.com/mmartial/ComfyUI-Nvidia-Docker for further details.
- Recommending setting USE_UV to true to use uv instead of pip
- See details about "latest" tag
- See details about "First time use" (and the "bottle" workflow), noting that Unraid's default YOUR_BASE_DIRECTORY should be /mnt/user/appdata/comfyui-nvidia/basedir
- GTX 10xx users should use the ubuntu22_cuda12.6.3-latest tag and check the README.md for recommendations on how to run the container.
- RTX 50xx (Blackwell) users should use at minimum ubuntu24_cuda12.8-latest tag.
Note:
- The container requires the Nvidia Driver plugin to be installed on your Unraid server. Usually that plugin will get you access to a CUDA driver with support for the latest tag available for this container.
- This is a WebUI for the ComfyUI Stable Diffusion tool with a Docker image of usually over 4GB.
- The container will take a while to start up, as it needs to download the ComfyUI Stable Diffusion tool and install its dependencies, usually adding another 5GB of downloaded content in the venv folder
- The original Docker image is from Nvidia, as such it is governed by the NVIDIA Deep Learning Container License.
- There are multiple version of the base image available, please select the one that fits your needs best. The name of the tag is the Ubuntu version followed by the CUDA version. Latest is set to point to the most recent combination as it should include the most recent software updates. For the complete list of supported versions, please see the GitHub repository
Exigences
Nvidia Driver plugin
Arguments d'exécution
- Interface utilisateur Web
http://[IP]:[PORT:8188]- Réseau
docker- Coquille
bash- Privilégié
- false
- Paramètres supplémentaires
--runtime nvidia --gpus all
Configuration du modèle
- Cible
- 8188
- Défaut
- 8188
- Valeur
- 8188
- Cible
- /comfy/mnt
- Défaut
- /mnt/user/appdata/comfyui-nvidia/mnt
- Valeur
- /mnt/user/appdata/comfyui-nvidia/mnt
- Cible
- /basedir
- Défaut
- /mnt/user/appdata/comfyui-nvidia/basedir
- Valeur
- /mnt/user/appdata/comfyui-nvidia/basedir
UID to use for content in run directory
- Défaut
- 99
- Valeur
- 99
GID to use for content in run directory
- Défaut
- 100
- Valeur
- 100
Use uv instead of pip
- Défaut
- false
- Valeur
- false
Use new ComfyUI Manager
- Défaut
- true
- Valeur
- true
Enable legacy UI for ComfyUI Manager
- Défaut
- false
- Valeur
- false
Extra command-line options for ComfyUI
Base directory for ComfyUI user directories such as models, input, output and custom_nodes
- Défaut
- /basedir
- Valeur
- /basedir
Modify the security level for the WebUI, see https://github.com/ltdrdata/ComfyUI-Manager?tab=readme-ov-file#security-policy for authorized values
- Défaut
- normal
- Valeur
- normal
Force change directory ownership as the comfy user during script startup (this process might be slow). This option was added to support users who mount the run and basedir folders onto other hosts which might not respect the UID/GID of the comfy user. Enabled by default on Unraid. To disable, set to an empty value.
- Défaut
- true
- Valeur
- true
Disable container start upgrades of python pacakges (also disables USE_PIPUPGRADE). All updates must be performed using ComfyUI Manager.
- Défaut
- false
- Valeur
- false
new default is to use pip install --upgrade, set to false to use pip install.
- Défaut
- true
- Valeur
- true
Use socat to listen on port 8188 and forward to 127.0.0.1:8181 (ie use an alternate port for Comfy to run)
- Défaut
- false
- Valeur
- false
Required to be set to personal_cloud to allow custom nodes installation
- Défaut
- personal_cloud
- Valeur
- personal_cloud
Catégories
Télécharger les statistiques
Total des téléchargements au fil du temps
Détails
mmartial/comfyui-nvidia-dockerExécutez ComfyUI-Nvidia-Docker sur Unraid.
ComfyUI-Nvidia-Docker est listé dans Community Apps pour Unraid OS. Explorez Unraid pour créer un serveur domestique flexible, un NAS ou un laboratoire domestique.