Add instructions for Docker installation

This commit is contained in:
B. Bergeron 2025-08-13 10:36:35 -04:00
parent eeee0f5b1b
commit e7ebda4b61
No known key found for this signature in database
GPG Key ID: 20A0A88F22238925

View File

@ -46,6 +46,12 @@ ComfyUI lets you design and execute advanced stable diffusion pipelines using a
- Get the latest commits and completely portable.
- Available on Windows.
#### [Docker Install](#running-with-docker)
- Run ComfyUI inside an isolated Docker container
- Most secure way to run ComfyUI and custom node packs
- Requires Docker and Docker Compose
- Supports NVIDIA GPUs (Not tested on other hardware.)
#### [Manual Install](#manual-install-windows-linux)
Supports all operating systems and GPU types (NVIDIA, AMD, Intel, Apple Silicon, Ascend).
@ -350,6 +356,24 @@ For models compatible with Iluvatar Extension for PyTorch. Here's a step-by-step
| `--enable-manager-legacy-ui` | Use the legacy manager UI instead of the new UI (requires `--enable-manager`) |
| `--disable-manager-ui` | Disable the manager UI and endpoints while keeping background features like security checks and scheduled installation completion (requires `--enable-manager`) |
## Running with Docker
Start by installing Docker and Docker Compose on your host. Next, edit
`docker-compose.yaml` and update the `UID` and `GID` variables to match your
user. Additional fields are documented in the file for further customization.
Once ready, build and run the image locally:
```
docker compose build
docker compose up
```
To stop and remove the container along with its volumes, run:
```
docker compose down -v
```
# Running