Runtime environment & bootstrapping scripts for Stable Diffusion WebUI (AUTOMATIC1111).
3.8K
READ THE FULL DOCUMENT ON GITHUB
Yet another Docker image for AUTOMATIC1111/stable-diffusion-webui, with "easy to update" in mind.
./storage/stable-diffusion-webui).Need a NVIDIA GPU with >=6GB VRAM.
git clone https://github.com/YanWenKun/sd-webui-docker-base.git
cd sd-webui-docker-base
docker compose up --detach
# Update image (only when Python components is outdated)
git pull
docker compose pull
docker compose up --detach --remove-orphans
docker image prune
OR using docker run :
mkdir storage
docker run -it \
--name sd-webui \
--gpus all \
-p 7860:7860 \
-v "$(pwd)"/storage:/home/runner \
--env CLI_ARGS="--xformers --medvram --allow-code --api --enable-insecure-extension-access" \
yanwk/sd-webui-base
# Update image (only when Python components is outdated)
docker rm sd-webui
docker pull yanwk/sd-webui-base
# Then run 'docker run' above again
Once the app is loaded, visit http://localhost:7860/
GitHub Repo: YanWenKun/sd-webui-docker-base
Special Thanks: this repo is inspired by AbdBarho/stable-diffusion-webui-docker.
Content type
Image
Digest
sha256:bbaa23487…
Size
3.6 GB
Last updated
about 2 years ago
docker pull yanwk/sd-webui-base