quakejs-docker icon indicating copy to clipboard operation
quakejs-docker copied to clipboard

entrypoint.sh is missing exec permission

Open ENT108 opened this issue 5 years ago • 3 comments

standard_init_linux.go:211: exec user process caused "exec format error"

Docker quits with this error.

Expected

Docker runs :)

Edit

Yes, I just pulled the image.

ENT108 avatar Apr 22 '20 14:04 ENT108

Can you post the command you are using to start the container?

treyyoder avatar Apr 22 '20 15:04 treyyoder

docker run -d --name quakejs -e SERVER=192.168.1.225 -e HTTP_PORT=8080 -p 8080:80 -p 28960:27960 treyyoder/quakejs:latest

I rebuild the image with +x on entrypoint.sh and it just works.

I run Raspbian on a pi.

ENT108 avatar Apr 22 '20 15:04 ENT108

Yeah, I'm having trouble with compatibility between Windows and Linux in regards to making entrypoint.sh executable. Ill need to investigate this more.

treyyoder avatar Apr 22 '20 15:04 treyyoder

I was unable to recreate your exact error, but I was able to fix my issue by changing the EOL conversion. I updated the readme, but you have to use LF for Dockerfile and entrypoint.sh

I've updated the image in dockerhub, try giving that a go.

treyyoder avatar Aug 30 '22 01:08 treyyoder