Building a DevOps Pipeline Reviews
65916 reviews
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. · Reviewed 22 يوم ago
Eduardo X. · Reviewed 22 يوم ago
Bogdan D. · Reviewed 22 يوم ago
Malith M. · Reviewed 22 يوم ago
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. · Reviewed 22 يوم ago
Rushi P. · Reviewed 22 يوم ago
Tapas B. · Reviewed 22 يوم ago
Harshit S. · Reviewed 22 يوم ago
Manish K. · Reviewed 22 يوم ago
Bogdan D. · Reviewed 22 يوم ago
Bünny Y. · Reviewed 22 يوم ago
Thomas D. · Reviewed 22 يوم ago
yusuf A. · Reviewed 22 يوم ago
Julien L. · Reviewed 22 يوم ago
saikumar G. · Reviewed 22 يوم ago
21 S. · Reviewed 22 يوم ago
Yuvashree S. · Reviewed 22 يوم ago
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. · Reviewed 22 يوم ago
Shantharama P. · Reviewed 22 يوم ago
sridhar n. · Reviewed 22 يوم ago
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.
Wenjing L. · Reviewed 23 يوم ago
Tony T. · Reviewed 23 يوم ago
LEONARDO I. · Reviewed 23 يوم ago
Muhammad Zulkifl H. · Reviewed 23 يوم ago
Houston L. · Reviewed 23 يوم ago
We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.