Table of Contents

AbdBarho’s stable-diffusion-webui-docker has a bug when we use a command docker compose --profile auto up --build to build and run docker containers.

This’s due to stable-diffusion-webui of AUTOMATIC1111 (as of Oct. 29, 2024).

Fix a bug:

clone https://github.com/AbdBarho/stable-diffusion-webui-docker.git

cd stable-diffusion-webui-docker

vim ./services/AUTOMATIC1111/Dockerfile

Then modify following:

   git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git && \
   cd stable-diffusion-webui && \
   git reset --hard v1.9.4 && \
-  pip install -r requirements_versions.txt
+  pip install -r requirements_versions.txt && \
+  pip install --upgrade typing-extensions

Save it.

We can execute docker commands correctly:

docker compose --profile download up --build
docker compose --profile auto up --build

Reference: