mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-16 01:00:49 +08:00
Improved documentation
This commit is contained in:
parent
e1cf4f7420
commit
174d91c9ed
14
README.md
14
README.md
@ -358,20 +358,24 @@ For models compatible with Iluvatar Extension for PyTorch. Here's a step-by-step
|
||||
|
||||
## Running with Docker
|
||||
|
||||
Start by installing Docker and Docker Compose on your host. Next, edit
|
||||
`compose.yaml` and update the `UID` and `GID` variables to match your
|
||||
user. Additional fields are documented in the file for further customization.
|
||||
Start by installing Docker, Docker Compose, and the NVIDIA Container Toolkit on
|
||||
your host. Next, edit `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:
|
||||
|
||||
```
|
||||
```shell
|
||||
# (Re)build the Docker image. Run this before the first start, after updating
|
||||
# ComfyUI, or after changing any build arguments in `compose.yaml`.
|
||||
docker compose build
|
||||
# Start ComfyUI. This reuses the most recently built image.
|
||||
docker compose up
|
||||
```
|
||||
|
||||
To stop and remove the container along with its volumes, run:
|
||||
|
||||
```
|
||||
```shell
|
||||
docker compose down -v
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user