
ComfyUI-Manager 是一款旨在增强 ComfyUI 易用性的扩展程序。它提供管理功能,用于安装、移除、禁用和启用 ComfyUI 的各种自定义节点。此外,此扩展程序还提供了一个中心功能和便捷功能,方便用户访问 ComfyUI 中的各种信息。 https://github.com/Comfy-Org/ComfyUI-Manager
ComfyUI 的一套强大的工具,可以在菜单上实时查看 ComfyUI 使用的资源(CPU、GPU、RAM、VRAM、GPU 温度和内存)! https://github.com/crystian/ComfyUI-Crystools
需要安装traefik
bashdocker compose -p comfyui up -d
yamlservices: comfyui: image: duhongming/comfyui:v0.3.63-3.13.7-bookworm-cu129 container_name: comfyui ports: - "8188:8188" volumes: - /AppData/comfyui/models/:/ComfyUI/models - /AppData/comfyui/input/:/ComfyUI/input - /AppData/comfyui/output/:/ComfyUI/output - /AppData/comfyui/user/:/ComfyUI/user #- /AppData/comfyui/custom_nodes/:/ComfyUI/custom_nodes deploy: resources: reservations: devices: - driver: nvidia count: all capabilities: [gpu] restart: unless-stopped networks: - traefik labels: # https://doc.traefik.io/traefik/reference/routing-configuration/other-providers/docker/#traefikenable - "traefik.enable=true" # https://doc.traefik.io/traefik/reference/routing-configuration/other-providers/docker/#traefikdockernetwork - "traefik.docker.network=traefik" # https://doc.traefik.io/traefik/reference/routing-configuration/other-providers/docker/#routers - "traefik.http.routers.comfyui.rule=Host(`comfyui.example.top`)" - "traefik.http.routers.comfyui.entrypoints=http" # https://doc.traefik.io/traefik/reference/routing-configuration/other-providers/docker/#services - "traefik.http.services.comfyui.loadbalancer.server.port=8188" networks: traefik: external: true
bashdocker run --name comfyui -dp 8188:8188 \ --runtime=nvidia --gpus all \ -v /AppData/comfyui/models/:/ComfyUI/models \ -v /AppData/comfyui/input/:/ComfyUI/input \ -v /AppData/comfyui/output/:/ComfyUI/output \ -v /AppData/comfyui/user/:/ComfyUI/user \ #-v /AppData/comfyui/custom_nodes/:/ComfyUI/custom_nodes \ duhongming/comfyui:v0.3.63-3.13.7-bookworm-cu129
也可以自行改造
# https://hub.docker.com/r/duhongming/comfyui # https://hub.docker.com/layers/l125/comfyui-for-dify/v0.2.3-cu129/images/sha256-5043c7959736cb27099b21e551555e4471c5c51ff625d951890e32a4b0ea31b9 # https://www.debian.org/releases/ 12 Bookworm # https://www.python.org/downloads/ 3.13.7 # Python 3.13 is very well supported. If you have trouble with some custom node dependencies you can try 3.12 FROM python:3.13.7-bookworm RUN pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu129 RUN echo ${LATEST_TAG} ARG LATEST_TAG=${LATEST_TAG} WORKDIR / # 添加一个随机参数(如当前时间戳),每次构建时变化,使缓存失效 ARG CACHEBUST=1 RUN git clone https://github.com/comfyanonymous/ComfyUI.git && cd ComfyUI && git checkout ${LATEST_TAG} RUN pip install -r /ComfyUI/requirements.txt WORKDIR /ComfyUI/custom_nodes/ RUN git clone https://github.com/ltdrdata/ComfyUI-Manager.git && pip install -r ComfyUI-Manager/requirements.txt RUN git clone https://github.com/crystian/ComfyUI-Crystools.git && pip install -r ComfyUI-Crystools/requirements.txt #RUN git clone https://github.com/ServiceStack/comfy-asset-downloader.git && pip install -r comfy-asset-downloader/requirements.txt #RUN git clone https://github.com/kijai/ComfyUI-DepthAnythingV2.git ComfyUI-DepthAnythingV2/;pip install -r ComfyUI-DepthAnythingV2/requirements.txt #RUN git clone https://github.com/spacepxl/ComfyUI-Depth-Pro.git ComfyUI-Depth-Pro/;pip install -r ComfyUI-Depth-Pro/requirements.txt #RUN git clone https://github.com/Gourieff/ComfyUI-ReActor.git ComfyUI-ReActor/;pip install -r ComfyUI-ReActor/requirements.txt #RUN git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite.git ComfyUI-VideoHelperSuite/;pip install -r ComfyUI-VideoHelperSuite/requirements.txt EXPOSE 8188 CMD ["python3","/ComfyUI/main.py","--listen","0.0.0.0"]
构建运行
bash# 定义最新tag变量 LATEST_TAG=$(git tag --sort=-creatordate | head -n 1) # 构建镜像 docker build --build-arg LATEST_TAG=$LATEST_TAG -t registry.cn-hangzhou.aliyuncs.com/dockerdance/comfyui:$LATEST_TAG-3.13.7-bookworm-cu129 . # 推送至阿里云仓库 docker push registry.cn-hangzhou.aliyuncs.com/dockerdance/comfyui:$LATEST_TAG-3.13.7-bookworm-cu129 # 标记为第二个仓库标签 docker tag registry.cn-hangzhou.aliyuncs.com/dockerdance/comfyui:$LATEST_TAG-3.13.7-bookworm-cu129 duhongming/comfyui:$LATEST_TAG-3.13.7-bookworm-cu129 # 推送至第二个仓库 docker push duhongming/comfyui:$LATEST_TAG-3.13.7-bookworm-cu129
以下是 duhongming/comfyui 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。






探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务