- Home
- /
- TIL
- /
- Stable Diffusion
Install stable-diffusion-webui-docker
Table of Contents
AbdBarho’s stable-diffusion-webui-docker can execute AUTOMATIC1111’s stable-diffusion-webui on a docker container.
Merits:
- Keep my Windows PC environment clean (no need to install git or python directly on my PC)
Preparation:
- Install the appropriate NVIDIA Graphics Driver on a Windows PC with a Nvidia GPU.
- Install wsl2 on the Windows PC (see Microsoft’s official document).
- Install NVIDIA Container Toolkit on a WSL distribution.
- Install Docker Desktop on the Windows PC (Enable WSL integration).
Execute commands in WSL:
git clone https://github.com/AbdBarho/stable-diffusion-webui-docker.git
cd stable-diffusion-webui-docker
docker compose --profile download up --build
docker compose --profile auto up --build
Then access http://localhost:7860/
in a web browser.