Opiniones sobre Compila una canalización de DevOps
65921 opiniones
The “Deploy Container” option has been deprecated, but the lab instructions haven’t been updated yet. In addition, there seems to be an issue with the Python Flask app—it isn’t accessible after deployment. if __name__ == "__main__": # app.run(host='0.0.0.0', port=8080, debug=True, threaded=True) port = int(os.environ.get("PORT", 8080)) # fallback to 8080 locally app.run(host='0.0.0.0', port=port, debug=True, threaded=True) And create firewall rule to allow HTTP port 80.
Wenjing L. · Se revisó hace 22 días
Josimar M. · Se revisó hace 22 días
Tolulope E. · Se revisó hace 22 días
Amy H. · Se revisó hace 22 días
Rohit K. · Se revisó hace 22 días
This is the comment that you're looking for In case you cannot connect to VM after you created it with Docker, is due to Dockerfile opening port 80, but the Flask app runs on port 8080. So, ssh into VM, change to sudo user with sudo su -, delete the running container, create another with port binding: docker run -d -p 80:8080 <image_name>:<image_tag> . Eventually, exec into container and run again the flash app with python3 main.py. After this, do not close the ssh window, put it aside. Repeat also this step for the second VM. Good Luck
Laurentiu B. · Se revisó hace 22 días
Eduardo X. · Se revisó hace 22 días
Bogdan D. · Se revisó hace 22 días
Malith M. · Se revisó hace 22 días
vm instance logged "network interface disabled" and TCP connections to the flask instance simply hung. I tried asking the gemini for cloud thing to help, and it complained tooling issues prevented it from checking compute engine instances, so I got no insight from there, either.
Michael M. · Se revisó hace 22 días
Rushi P. · Se revisó hace 22 días
Tapas B. · Se revisó hace 22 días
Harshit S. · Se revisó hace 22 días
Manish K. · Se revisó hace 23 días
Bogdan D. · Se revisó hace 23 días
Bünny Y. · Se revisó hace 23 días
Thomas D. · Se revisó hace 23 días
yusuf A. · Se revisó hace 23 días
Julien L. · Se revisó hace 23 días
saikumar G. · Se revisó hace 23 días
21 S. · Se revisó hace 23 días
Yuvashree S. · Se revisó hace 23 días
The “Deploy Container” option has been deprecated, but the lab instructions haven’t been updated yet. In addition, there seems to be an issue with the Python Flask app—it isn’t accessible after deployment. if __name__ == "__main__": # app.run(host='0.0.0.0', port=8080, debug=True, threaded=True) port = int(os.environ.get("PORT", 8080)) # fallback to 8080 locally app.run(host='0.0.0.0', port=port, debug=True, threaded=True)
Wenjing L. · Se revisó hace 23 días
Shantharama P. · Se revisó hace 23 días
sridhar n. · Se revisó hace 23 días
No garantizamos que las opiniones publicadas provengan de consumidores que hayan comprado o utilizado los productos. Google no verifica las opiniones.