basujindal / stable-diffusion

Optimized Stable Diffusion modified to run on lower GPU VRAM
Other
3.14k stars 467 forks source link

Build fails on Windows with docker-bootstrap.sh: no such file or directory due to CRLF file encoding #192

Open countably1nfinite opened 1 year ago

countably1nfinite commented 1 year ago

Docker build fails on Windows with this error:

 - Container stable-diffusion-sd-1  Created                                                                                                                     0.0s 
Attaching to stable-diffusion-sd-1
stable-diffusion-sd-1  | exec /root/stable-diffusion/docker-bootstrap.sh: no such file or directory
stable-diffusion-sd-1 exited with code 1

Changing the encoding in docker-bootstrap.sh from CRLF to LF resolves the issue.

Luisjesch commented 1 year ago

I encountered this same issue. Is it really just CRLF encoding? do you have to build again? I have no idea how to fix this on windows.