tradytics / surpriver

Find big moving stocks before they move using machine learning and anomaly detection
https://www.tradytics.com/
GNU General Public License v3.0
1.76k stars 328 forks source link

exec: "/usr/src/app/entry_point.sh": permission denied #23

Closed ibuda closed 3 years ago

ibuda commented 3 years ago

Hi,

I am trying to run surpriver using docker. I followed all the steps in README but got stuck on the last steps. I am getting the following error when I run docker-compose up -d:

Starting surpriver ... error                                                                                                         

ERROR: for surpriver  Cannot start service surpriver: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: "/usr/src/app/entry_point
.sh": permission denied: unknown                                                                                                     

ERROR: for surpriver  Cannot start service surpriver: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: "/usr/src/app/entry_point
.sh": permission denied: unknown                                                                                                     
ERROR: Encountered errors while bringing up the project.

Did anyone face the same problems as above, and got away with it after all? Please share if so :)

Information: Using the latest version (commit) as of today 5241766. System: No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.10 Release: 20.10 Codename: groovy

ibuda commented 3 years ago

Apparently, the problem was with the entry_point.sh file permission. Making it executable by running chmod +x entry_point.sh did the trick.