Skip to content

Commit ddffb17

Browse files
Enabled the Updating of ComfyUI in the Web UI
The ComfyUI and ComfyUI Manager repositories are now fully cloned instead of using the "--depth 1" option. Although this increases the size of the image, the size increase is negligible compared to the overall image size. This change now enables users to update ComfyUI and ComfyUI Manager from within the ComfyUI Manager interface, independent of the Docker image version. Also, I downgraded the CUDA version from 13.0 to 12.8, as version 13.0 seems to be very new and at least Ubuntu 24.04 does not yet have the updated NVIDIA drivers in its repositories. I would have preferred to use CUDA 12.9, as this was the version that was used in the previous image, but for some reason the PyTorch team did not publish a CUDA 12.9 version of their Docker images. Therefore, I opted for CUDA 12.8, which is widely supported and should work well with most setups, even though some newer GPUs might benefit from using the latest CUDA version, as some optimizations might be missing in the older versions. Maybe I will produce multiple image versions with different CUDA versions in the future if there is demand for it.
1 parent 326b53e commit ddffb17

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# Changelog
22

3-
## v0.6.0 (January 8, 2026)
3+
## v0.6.0 (January 9, 2026)
44

5-
- Updated the base image of the Dockerfile to the latest version of PyTorch (from PyTorch 2.8.0, CUDA 12.9, and cuDNN 9 to PyTorch 2.9.1, CUDA 13.0, and cuDNN 9).
5+
- Updated the base image of the Dockerfile to the latest version of PyTorch (from PyTorch 2.8.0, CUDA 12.9, and cuDNN 9 to PyTorch 2.9.1, CUDA 12.8, and cuDNN 9).
66
- Updated the ComfyUI version to the latest version (from ComfyUI 0.3.49 to ComfyUI 0.8.2).
77
- Updated the ComfyUI Manager version to the latest version (from ComfyUI Manager 3.35 to ComfyUI Manager 4.0.5).
88
- Updated the versions of the checkout action, Python setup action, and attest build provenance action in the GitHub Actions workflow to their latest versions.
99
- The outputs of ComfyUI are now stored outside of the container in a directory on the host system. This prevents the loss of outputs when the container is removed. The read me was updated to reflect this change.
1010
- A Docker Compose file was added to the repository to make running, managing, and updating ComfyUI Docker easier. The read me was updated to include instructions on how to use Docker Compose.
11-
- This version of ComfyUI Docker was made possible by the contributions of [Alex Marinov](@alex-marinov).
11+
- The ComfyUI and ComfyUI Manager repositories are now fully cloned instead of using the `--depth 1` option. Although this increases the size of the image, the size increase is negligible compared to the overall image size. This change now enables users to update ComfyUI and ComfyUI Manager from within the ComfyUI Manager interface, independent of the Docker image version.
12+
- This version of ComfyUI Docker was made possible by the contributions of [Patrick Kranz](@LokiMidgard) and [Alex Marinov](@alex-marinov).
1213

1314
## v0.5.0 (August 12, 2025)
1415

CONTRIBUTORS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ The project was initially created and is maintained by [David Neumann](@lecode-o
66
- [Alex Reynolds](@primlock) ([#22](https://github.com/lecode-official/comfyui-docker/pull/22))
77
- [Chris TenHarmsel](@epchris) ([#13](https://github.com/lecode-official/comfyui-docker/pull/13))
88
- [Mustafa Hamade](@Mustafa-Hamade) ([#20](https://github.com/lecode-official/comfyui-docker/issues/20))
9-
- [Patrick Kranz](@LokiMidgard) ([#21](https://github.com/lecode-official/comfyui-docker/pull/21))
9+
- [Patrick Kranz](@LokiMidgard) ([#21](https://github.com/lecode-official/comfyui-docker/pull/21), [#29](https://github.com/lecode-official/comfyui-docker/issues/29))

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ If you want to use the bleeding edge development version of the Docker image, yo
187187
```shell
188188
git clone https://github.com/lecode-official/comfyui-docker.git
189189
cd comfyui-docker
190-
docker build --tag lecode/comfyui-docker:latest source
190+
docker build --tag comfyui-docker:latest source
191191
```
192192
193193
Now, a container can be started like so:
@@ -205,7 +205,7 @@ docker run \
205205
--publish 8188:8188 \
206206
--runtime nvidia \
207207
--gpus all \
208-
lecode/comfyui-docker:latest
208+
comfyui-docker:latest
209209
```
210210
211211
## License

source/Dockerfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Defines the versions of ComfyUI, ComfyUI Manager, and PyTorch to use
33
ARG COMFYUI_VERSION=v0.8.2
44
ARG COMFYUI_MANAGER_VERSION=4.0.5
5-
ARG PYTORCH_VERSION=2.9.1-cuda13.0-cudnn9-runtime
5+
ARG PYTORCH_VERSION=2.9.1-cuda12.8-cudnn9-runtime
66

77
# This image is based on the latest official PyTorch image, because it already contains CUDA, CuDNN, and PyTorch
88
FROM pytorch/pytorch:${PYTORCH_VERSION}
@@ -17,21 +17,19 @@ RUN apt update --assume-yes && \
1717
rm -rf /var/lib/apt/lists/*
1818

1919
# Clones the ComfyUI repository and checks out the latest release
20-
RUN git clone --depth=1 https://github.com/Comfy-Org/ComfyUI.git /opt/comfyui && \
20+
RUN git clone https://github.com/Comfy-Org/ComfyUI.git /opt/comfyui && \
2121
cd /opt/comfyui && \
22-
git fetch origin ${COMFYUI_VERSION} && \
23-
git checkout FETCH_HEAD
22+
git checkout ${COMFYUI_VERSION}
2423

2524
# Clones the ComfyUI Manager repository and checks out the latest release; ComfyUI Manager is an extension for ComfyUI that enables users to install
2625
# custom nodes and download models directly from the ComfyUI interface; instead of installing it to "/opt/comfyui/custom_nodes/ComfyUI-Manager", which
2726
# is the directory it is meant to be installed in, it is installed to its own directory; the entrypoint will symlink the directory to the correct
2827
# location upon startup; the reason for this is that the ComfyUI Manager must be installed in the same directory that it installs custom nodes to, but
2928
# this directory is mounted as a volume, so that the custom nodes are not installed inside of the container and are not lost when the container is
3029
# removed; this way, the custom nodes are installed on the host machine
31-
RUN git clone --depth=1 https://github.com/Comfy-Org/ComfyUI-Manager.git /opt/comfyui-manager && \
30+
RUN git clone https://github.com/Comfy-Org/ComfyUI-Manager.git /opt/comfyui-manager && \
3231
cd /opt/comfyui-manager && \
33-
git fetch origin ${COMFYUI_MANAGER_VERSION} && \
34-
git checkout FETCH_HEAD
32+
git checkout ${COMFYUI_MANAGER_VERSION}
3533

3634
# Installs the required Python packages for both ComfyUI and the ComfyUI Manager
3735
RUN pip install \

0 commit comments

Comments
 (0)