mkdir -p \
storage \
storage-models/models \
storage-models/hf-hub \
storage-models/torch-hub \
storage-user/input \
storage-user/output \
storage-user/workflows
docker run -it --rm \
--name comfyui \
--runtime nvidia \
--gpus all \
-p 8188:8188 \
-v "$(pwd)"/storage:/root \
-v "$(pwd)"/storage-models/models:/root/ComfyUI/models \
-v "$(pwd)"/storage-models/hf-hub:/root/.cache/huggingface/hub \
-v "$(pwd)"/storage-models/torch-hub:/root/.cache/torch/hub \
-v "$(pwd)"/storage-user/input:/root/ComfyUI/input \
-v "$(pwd)"/storage-user/output:/root/ComfyUI/output \
-v "$(pwd)"/storage-user/workflows:/root/ComfyUI/user/default/workflows \
-e CLI_ARGS="--disable-xformers" \
yanwk/comfyui-boot:cu128-slim| GPU 架构 | Blackwell | Hopper | Ada Lovelace | Ampere | Turing | Volta | Pascal | Maxwell |
|---|---|---|---|---|---|---|---|---|
示例GPU |
RTX 5090 |
H100 |
RTX 4090 |
RTX 3090 |
RTX 2080 |
TITAN V |
GTX 1080 |
GTX 980 |
cu130 |
✔️ |
✔️ |
✔️ |
✔️ |
✔️ |
❌ |
❌ |
❌ |
cu128 ⭐ |
✔️ |
✔️ |
✔️ |
✔️ |
✔️ |
✔️ |
❌ |
❌ |
cu126 |
❌ |
✔️ |
✔️ |
✔️ |
✔️ |
✔️ |
✔️ |
✔️ |
slim 镜像仅预装基本的 ComfyUI 与 Manager,同时预装大量依赖项,方便后续无痛安装热门自定义节点(扩展插件)。推荐初学者使用。
-
-
CUDA 12.6, Python 3.12
-
-
-
CUDA 12.8, Python 3.12
-
-
-
CUDA 13.0, Python 3.13 (GIL 版本), 无 xFormers
-
megapak 镜像为整合包,包含开发套件与常用自定义节点(扩展插件)。
-
-
CUDA 12.6, Python 3.12, GCC 13
-
-
-
CUDA 12.8, Python 3.12, GCC 14
-
-
-
使用最新开发预览版的 PyTorch
-
代码使用 木兰公共许可证, 第2版 。 中英双语哦!