ricklamers / gridstudio

Grid studio is a web-based application for data science with full integration of open source data science frameworks and languages.
GNU Affero General Public License v3.0
8.88k stars 1.5k forks source link

Run run-manager-proxy.sh: Permission denied #33

Closed SherlockLiang closed 5 years ago

SherlockLiang commented 5 years ago

Hi dear,

New for docker and grid studio, The error msg shows as below after running ./run.sh: bash: run-manager-proxy.sh: Permission denied

Please help to give me some advice! thx!

ricklamers commented 5 years ago

On what operating system are you using Docker?

SherlockLiang commented 5 years ago

CentOS Linux release 7.5.1804 Docker version 1.13.1

ricklamers commented 5 years ago

run-manager-proxy.sh is mounted in the Docker instance when you execute ./run.sh. Could you check the permissions on run-manager-proxy.sh on your CentOS Linux side?

SherlockLiang commented 5 years ago

I already add execute permission to the script run-manager-proxy.sh in CentOS. But after adding --privileged option to the run.sh, gridstudio is started up. I doubt that there is no permission to execute run-manager-proxy.sh in the docker container.

ricklamers commented 5 years ago

Since --privileged option made it work I'm thinking in your particular configuration the Docker container did not have access to the device that files were on. Closing this for now because it might be your particular configuration, if others have this - feel free to re-open this issue as it might indicate a broader problem that needs to be fixed.

luxoracle commented 5 years ago

I have the same problem when executing the run.sh under CentOS7. image

ricklamers commented 5 years ago

@luxoracle It's probably because you're running as root, so the files on the filesystem in the git repository will be owned by root. Try cloning as a regular user or try --priviliged in the docker run command.

luxoracle commented 5 years ago

I modified the run.sh file by adding '--privileged=true' to every docker run command line and it worked. Thank you.

ricklamers commented 5 years ago

@luxoracle glad it worked!