-
Notifications
You must be signed in to change notification settings - Fork 11k
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
Permission denied #202
Comments
I have tried to run the vote app , creating the python app with the github repo: but it ends up with : in the logs: ---> Running application from Python script (app.py) ... | * Serving Flask app "app" (lazy loading) Any idea ? Thanks for help |
Having the same error. Has anyone resolved this? |
Any Update on this error |
I am getting below error with latest repo, when deploying on opneshift ---> Running application from Python script (app.py) ... * Serving Flask app 'app' (lazy loading) * Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Debug mode: on Traceback (most recent call last): File "app.py", line 51, in app.run(host='0.0.0.0', port=80, debug=True, threaded=True) File "/opt/app-root/lib/python3.6/site-packages/flask/app.py", line 920, in run run_simple(t.cast(str, host), port, self, **options) File "/opt/app-root/lib/python3.6/site-packages/werkzeug/serving.py", line 991, in run_simple s.bind(server_address) PermissionError: [Errno 13] Permission denied |
We're sorry for the late response. Linux images have been refreshed, cleaned up, and are now multi-platform. If you're still having issues with the latest images, feel free to reopen this ticket. |
Re-opening since same error is still being produced: ---> Running application from Python script (app.py) ...
|
Hi @k-rol! Sorry to hear that you're running into issues. It looks like it's occurring during the Out of curiosity, are you trying to run the application in your container as a non-root user? Or any other changes you're making to the app? Can you provide a little detail about how you're launching the app? |
Looking deeper, @k-rol... are you running the application using the Compose file/containers? Your file paths indicate Python 3.6, while we're using 3.9 in the Dockerfile. The filepaths for the errors also look quite different than what we'd see running in the container environments. |
is this issue fixed? |
can you help me with the solution |
My bad, no fix for this from my side. |
** PLEASE ONLY USE THIS ISSUE TRACKER TO SUBMIT ISSUES WITH THE EXAMPLE VOTING APP **
Please provide the following information so we can assess the issue you're having
Description
Steps to reproduce the issue, if relevant:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, Docker for Mac, Docker for Windows, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: