Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sudo docker-compose up getting as no such file or directory please help.. #13

Open
ghousethanedar opened this issue Dec 4, 2020 · 5 comments

Comments

@ghousethanedar
Copy link

ERROR: for wsgiserver Cannot start service wsgiserver: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: "/app/docker/backend/wsgi-entrypoint.sh": stat /app/docker/backend/wsgi-entrypoint.sh: no such file or directory": unknown
ERROR: Encountered errors while bringing up the project.

image

@ghousethanedar
Copy link
Author

Although the file is present in there it is still showing as the no such file present error.

@pplonski
Copy link
Owner

pplonski commented Dec 5, 2020

Two things:

  • are you 100% sure that file is present in specified path?
  • do you add execute rights to file chmod +x wsgi-entrypoint.sh ?

@ghousethanedar
Copy link
Author

Firstly i would appreciate your effort to help,

And to answer your above questions

To Make sure the file is present i have place a run command
as
RUN ls /app/backend/docker
image

After sudo docker-compose build it gave the output as
image

The file is present in the path as seen in the screenshot

I have tried by placing the RUN chmod +x command as shown
It gave the error as no such file found.

@aterrones
Copy link

Did you solve the issue? I'm exactly in the same situation as stated by ghousethanedar.

@ghousethanedar
Copy link
Author

Not solved.. but found alternative change the image and yml file config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants