Open yohcop opened 5 years ago
could you provide the output of the docker logs for the failed container startup?
@nathanpotter we don't need the docker logs, the logs alone above already tells the issue.
Looks like the code-server binary has no executable permissions. Probably an error in how it was chmod'ed
I have a very simple .sail/Dockerfile in my project:
But when I run sail, I get permission denied on code-server.
The weird thing is if I run
sudo docker run -it yohcop_tri-report bash
, and then try to run/usr/bin/code-server
, with with all the flags (except --extra-extensions-dir, which seems to be problematic), it starts fine. I also checked the permissions, and they are set correctly-rwxr-xr-x 1 root root 94698820 Apr 24 00:18 /usr/bin/code-server
So it's probably a permission denied on something else.
Any ideas? Thanks!