eisai/stable-diffusion-nvidia
Stable-diffusion-webui for Windows Container with built-in CUDA support.
81
Only Windows build version 20348 or newer are supported (Win11, Server2022)
Hyper-V or CUDA toolkits are NOT required
Build Number | Image |
---|---|
22621.x | eisai/stable-diffusion-nvidia:ltsc2022 |
20348.x | eisai/stable-diffusion-nvidia:ltsc2022 |
the size of the Windows container is kind of huge ~15GB
(Persistence) Create a folder:
STABLE-DIFFUSION
├───data
└───docker-compose.yaml
Docker CLI:
docker run --rm -d --isolation process `
-p "7860:7860" `
-v '<path to data folder>:C:\app\udata' `
--device=class/5B45201D-F2F2-4F3B-85BB-30FF1F953599 `
eisai/stable-diffusion-nvidia
Docker compose (Recommended):
version: "3.8"
networks:
stable_diffusion:
services:
stable_diffusion:
container_name: stable_diffusion
image: eisai/stable-diffusion-nvidia
isolation: process
networks:
- stable_diffusion
cpu_count: 8
ports:
- "7860:7860"
environment:
- ARGS=--update-check --xformers # See https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Command-Line-Arguments-and-Settings
volumes:
- '.\data:C:\data'
devices:
- class/5B45201D-F2F2-4F3B-85BB-30FF1F953599 # Passing GPU, This GUID is fixed
Try empty the output folder then recreate the container.
AUTOMATIC1111/stable-diffusion-webui
https://github.com/AUTOMATIC1111/stable-diffusion-webui
Install an ultralight docker engine on Windows
https://eisaichen.com/?p=76
docker pull eisai/stable-diffusion-nvidia