SimpleTuner icon indicating copy to clipboard operation
SimpleTuner copied to clipboard

docker run --gpus all -it -p 22:22 simpletuner exec /start.sh: no such file or directory

Open protector131090 opened this issue 1 year ago • 1 comments

S:\SimpleTuner>docker run --gpus all -it -p 22:22 simpletuner exec /start.sh: no such file or directory

protector131090 avatar Aug 12 '24 08:08 protector131090

This is a dupe #728

komninoschatzipapas avatar Aug 13 '24 07:08 komninoschatzipapas

Hi there,

The issue is that the line endings in windows for the docker-start.sh file have changed. When we git clone the repository in windows, depending on the settings of your git, it might change the line endings from LF (unix style) to CRLF (windows style). So the solution is very simple: Open docker-start.sh with VS code, at the bottom right you will see CRLF, click and change it to LF, save the file. Rebuild the image. Now it should work.

anduvo avatar Dec 11 '24 20:12 anduvo