Permission denied on docker run script
I have an app that runs in a docker container. I normally run it on bare metal running Red Hat 7. I am trying to now run it on a linode instance running CentOS7. I built the image, but when I try and run it it gets:
/bin/bash: /opt/django/CAPgraph/run3.sh: Permission denied
The run script is 777:
-rwxrwxrwx. 1 root root 3109 May 25 15:41 run3.sh
And the shbang is:
Anyone have any thoughts on what the issue could be or how I could debug it further?
the first thing I think of when I see permission problems on centos is selinux. Have you looked at the audit logs? I think it's /var/log/audit/audit.log