stable-diffusion icon indicating copy to clipboard operation
stable-diffusion copied to clipboard

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

Open countably1nfinite opened this issue 3 years ago • 1 comments

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.

countably1nfinite avatar Sep 25 '22 09:09 countably1nfinite

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.

Luisjesch avatar Jul 10 '23 16:07 Luisjesch