Updated FAQ (markdown)

AbdBarho
2022-09-13 10:19:09 +02:00
parent 5f2e78114c
commit 41e17520ac

13
FAQ.md

@@ -3,15 +3,17 @@
To enable [Textual Inversion](https://github.com/hlky/sd-enable-textual-inversion) remove `--optimize` and `--optimize-turbo` flags and add `--no-half`, [more info here](https://github.com/AbdBarho/stable-diffusion-webui-docker/issues/6).
-->
# Output is a always green image
### Output is a always green image
If [output is a always green image](https://github.com/AbdBarho/stable-diffusion-webui-docker/issues/9), use `--precision full --no-half`.
# Docker build fails
---
### `CondaError: Downloaded bytes did not match Content-Length` or `CondaEnvException: Pip failed, ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE`
This means your internet connection is unstable so the download failed, just try again `docker compose build`
---
### Dockerfile parse error:
```
Error response from daemon: dockerfile parse error line 33: unknown instruction: GIT
@@ -19,11 +21,18 @@ ERROR: Service 'model' failed to build : Build failed
```
Update docker to the latest version, and make sure you are using `docker compose` (docker space compose) instead of `docker-compose` (docker dash compose). [More info here.](https://github.com/AbdBarho/stable-diffusion-webui-docker/issues/16)
---
### Build fails at [The Shell command](https://github.com/AbdBarho/stable-diffusion-webui-docker/blob/5af482ed8c975df6aa0210225ad68b218d4f61da/build/Dockerfile#L11), `/bin/bash` not found in WSL.
Edit `build/Dockerfile`, and change the SHELL from `/bin/bash` to `//bin/bash`. More info in [#21](https://github.com/AbdBarho/stable-diffusion-webui-docker/issues/21) [@MiccoHadje](https://github.com/MiccoHadje)
---
### Build fails with credentials errors when logged in via SSH on WSL2/Windows
You can try forcing plain text auth creds storage by removing line with "credStore" from ~/.docker/config.json (in WSL). [More info in #56](https://github.com/AbdBarho/stable-diffusion-webui-docker/issues/56)
---
### Other build errors on windows: (thanks to [@SuddenDevelopment](https://github.com/SuddenDevelopment) for reporting):
* Update to latest windows 10 release 2021H2 (required for WSL to see the GPU)