mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-22 12:20:16 +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
|
## Running with Docker
|
||||||
|
|
||||||
Start by installing Docker and Docker Compose on your host. Next, edit
|
Start by installing Docker, Docker Compose, and the NVIDIA Container Toolkit on
|
||||||
`compose.yaml` and update the `UID` and `GID` variables to match your
|
your host. Next, edit `compose.yaml` and update the `UID` and `GID` variables to
|
||||||
user. Additional fields are documented in the file for further customization.
|
match your user. Additional fields are documented in the file for further
|
||||||
|
customization.
|
||||||
|
|
||||||
Once ready, build and run the image locally:
|
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
|
docker compose build
|
||||||
|
# Start ComfyUI. This reuses the most recently built image.
|
||||||
docker compose up
|
docker compose up
|
||||||
```
|
```
|
||||||
|
|
||||||
To stop and remove the container along with its volumes, run:
|
To stop and remove the container along with its volumes, run:
|
||||||
|
|
||||||
```
|
```shell
|
||||||
docker compose down -v
|
docker compose down -v
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user