- Dockerized Stable-Diffusion-Webui based on AUTOMATIC1111/stable-diffusion-webui
- Includes prompt auto-completion javascript credited by shounksu
- Image is based on nvidia/cuda:11.7.1-devel-ubuntu22.04 image
- Prebuilt images are available on Docker Hub:
- Linux environment (Including WSL2)
- 'Appropriate' GPU
- docker-ce
- docker-compose
- NVIDIA Container Toolkit
- Basic knowledges of Linux commands
DOCKER_BUILDKIT=1 \
SD_WEBUI_VERSION=v1.6.0 && \
docker build --no-cache \
--build-arg BASEIMAGE=nvidia/cuda \
--build-arg BASETAG=11.7.1-cudnn8-devel-ubuntu22.04 \
--build-arg SD_WEBUI_VERSION=${SD_WEBUI_VERSION} \
-t kestr3l/stable-diffusion-webui:${SD_WEBUI_VERSION} \
-f Dockerfile .
- Simply execute
setup.sh
. - On the first run, it will create data directory for the WebUI on
Documents
directory and exit.- Run it again after then.
- If you want to run this on background, run by
nohup ./setup.sh &
- Set
DEBUG_MODE=1
onrun.env
- This will make container do 'nothing'. So that user can try anything manually
- You can enter a container by
docker exec -it --user user stable-diffusion-webui bash
- On default,
sudo
is available for theuser
.
- CI/CD for automated image update
- Image for training environment