From 5139ac5716e2cf56185dd944e79f4f11c23f7d5a Mon Sep 17 00:00:00 2001 From: lin-bot23 Date: Tue, 14 Jul 2026 06:11:17 +0800 Subject: [PATCH 1/2] docs: improve Docker notice with setup steps and example command --- snippets/install/docker-notice.mdx | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/snippets/install/docker-notice.mdx b/snippets/install/docker-notice.mdx index 27ac1f28e..2ebfe0a39 100644 --- a/snippets/install/docker-notice.mdx +++ b/snippets/install/docker-notice.mdx @@ -1,3 +1,20 @@ -**Docker:** ComfyUI does not provide an official Docker image. If you want to run ComfyUI in a container, search [Docker Hub](https://hub.docker.com) for community-maintained images. Note that **none of these are official ComfyUI images**, and they are not supported by the ComfyUI team. Use them at your own risk. +**Docker:** ComfyUI does not provide an official Docker image. If you want to run ComfyUI in a container, you can use community-maintained images from [Docker Hub](https://hub.docker.com/search?q=comfyui). Search for terms like `comfyui` or `comfy-ui` to find available images. + +Common setup steps when using a community image: +1. Map port `8188` to access the web interface +2. Mount a volume for your models directory +3. Mount a volume for your output directory + +Example: +```bash +docker run -d \ + --name comfyui \ + -p 8188:8188 \ + -v /path/to/models:/ComfyUI/models \ + -v /path/to/output:/ComfyUI/output \ + +``` + +Note that **none of these images are official ComfyUI images**, and they are not supported by the ComfyUI team. Use them at your own risk. From da785c1285049a55e654499a1dfc38616061d67c Mon Sep 17 00:00:00 2001 From: lin-bot23 Date: Wed, 22 Jul 2026 13:16:13 +0800 Subject: [PATCH 2/2] fix: add GPU passthrough, listen address note, and mount path caveat to Docker notice --- snippets/install/docker-notice.mdx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/snippets/install/docker-notice.mdx b/snippets/install/docker-notice.mdx index 2ebfe0a39..7c3f81db6 100644 --- a/snippets/install/docker-notice.mdx +++ b/snippets/install/docker-notice.mdx @@ -3,18 +3,22 @@ Common setup steps when using a community image: 1. Map port `8188` to access the web interface -2. Mount a volume for your models directory -3. Mount a volume for your output directory +2. Ensure ComfyUI listens on `0.0.0.0` inside the container so that port mapping works from the host (most community images handle this by default) +3. Mount a volume for your models directory +4. Mount a volume for your output directory Example: ```bash docker run -d \ --name comfyui \ + --gpus all \ -p 8188:8188 \ -v /path/to/models:/ComfyUI/models \ -v /path/to/output:/ComfyUI/output \ ``` +GPU users need `--gpus all` (requires the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html)). Note that internal container paths like `/ComfyUI/models` may differ depending on the image. Refer to your chosen image's documentation for the exact paths. + Note that **none of these images are official ComfyUI images**, and they are not supported by the ComfyUI team. Use them at your own risk.