Stable-Diffusion-Webui-Docker
1.1 Building stable-diffusion-webui
Docker Image
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 .
1.2 Running docker-stable-diffusion-webui
Container
- Simply execute
setup.sh
.
- On the first run, it will create data directory for the WebUI on
Documents
directory and exit.
- If you want to run this on background, run by
nohup ./setup.sh &
1.3 Debugging stable-diffusion-webui
Docker Image
- Set
DEBUG_MODE=1
on run.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 the user
.
- CI/CD for automated image update
- Image for training environment
- AUTOMATIC1111/stable-diffusion-webui
- facebookreseasrch/xformers
- WebUI 태그 자동완성
- 리눅스 xformers 빌드 방법 (GPU 불필요) (작성 중)
- Is it possible to map a user inside the docker container to an outside user?