`exec format error` when running a Docker image for Writefreely
pepicrft last edited by
I'm forked Writefreely to add a
CloudronManifest.jsonfile and adjusted the
Dockerfileto install it in my Cloudron instance. The Docker image builds successfully but when Cloudron tries to run it, I get the following error when it runs
box:shell reload spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx:
standard_init_linux.go:228: exec user process caused: exec format error
I did a bit of search on the internet and it turns out the
restartservice.shmight be missing the shebang and therefore the OS doesn't know how to execute the script. I replaced the Alpine image with Ubuntu's and the issue persists so I'm not quite sure what I can install/configure in the OS for that script to run successfully. Any ideas?
Thanks in advance,
timconsidine last edited by
@pepicrft I'm not sure this will make a difference but generally recommended to build the Dockerfile using the cloudron base image
Could try that out
subven last edited by
run.shneeds to be an executable i.e
chmod +xin the repo.