Updated FAQ (markdown)

AbdBarho
2022-09-16 06:20:06 +02:00
parent 8a01ef597a
commit 90717763ee

8
FAQ.md

@@ -19,18 +19,18 @@ This means your internet connection is unstable so the download failed, just try
Error response from daemon: dockerfile parse error line 33: unknown instruction: GIT
ERROR: Service 'model' failed to build : Build failed
```
Update docker to the latest version, and make sure you are using `docker compose` instead of `docker-compose`. [More info here.](https://github.com/AbdBarho/stable-diffusion-webui-docker/issues/16)
Update docker to the latest version, and make sure you are using `docker compose` instead of `docker-compose`. [#16](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)
Edit the corresponding docker file, and change the SHELL from `/bin/bash` to `//bin/bash` [#21](https://github.com/AbdBarho/stable-diffusion-webui-docker/issues/21), note: this is a hack and something in your wsl is messed up.
---
### 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)
You can try forcing plain text auth creds storage by removing line with "credStore" from ~/.docker/config.json (in WSL). [#56](https://github.com/AbdBarho/stable-diffusion-webui-docker/issues/56)
---
@@ -38,5 +38,5 @@ You can try forcing plain text auth creds storage by removing line with "credSto
* Update to latest windows 10 release 2021H2 (required for WSL to see the GPU)
* Update to WSL2 (download and switch to version 2)
* Install / Update Docker Desktop
* You might need to create a [`.wslconfig`](https://docs.microsoft.com/en-us/windows/wsl/wsl-config#example-wslconfig-file) and increase memory, if you have 16GB RAM, set the limit to something around 12GB, more info in [#34](https://github.com/AbdBarho/stable-diffusion-webui-docker/issues/34) and [#64](https://github.com/AbdBarho/stable-diffusion-webui-docker/issues/64)
* You might need to create a [`.wslconfig`](https://docs.microsoft.com/en-us/windows/wsl/wsl-config#example-wslconfig-file) and increase memory, if you have 16GB RAM, set the limit to something around 12GB, [#34](https://github.com/AbdBarho/stable-diffusion-webui-docker/issues/34) [#64](https://github.com/AbdBarho/stable-diffusion-webui-docker/issues/64)
* You might also need to [force wsl to allow file permissions](https://superuser.com/a/1646556)