Table of Contents

AbdBarhoのstable-diffusion-webui-dockerには、docker compose --profile auto up --buildコマンドを使用してDockerコンテナをビルドおよび実行する際にバグがあります。

これはAUTOMATIC1111のstable-diffusion-webuiに起因するものです(2024年10月29日時点)。

バグの修正:

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

cd stable-diffusion-webui-docker

vim ./services/AUTOMATIC1111/Dockerfile

次のように修正します:

   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

保存します。

これでDockerコマンドを正しく実行できます:

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

参考文献: