关于“建立開發運作管道”的评价

评论

Rohit K. · 评论29 days之前

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. · 评论29 days之前

Eduardo X. · 评论29 days之前

Bogdan D. · 评论29 days之前

Malith M. · 评论29 days之前

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. · 评论29 days之前

Rushi P. · 评论30 days之前

Tapas B. · 评论30 days之前

Harshit S. · 评论30 days之前

Manish K. · 评论30 days之前

Bogdan D. · 评论30 days之前

Bünny Y. · 评论30 days之前

Thomas D. · 评论30 days之前

yusuf A. · 评论30 days之前

Julien L. · 评论30 days之前

saikumar G. · 评论30 days之前

21 S. · 评论30 days之前

Yuvashree S. · 评论30 days之前

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. · 评论about 1 month之前

Shantharama P. · 评论about 1 month之前

sridhar n. · 评论about 1 month之前

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. · 评论about 1 month之前

Tony T. · 评论about 1 month之前

LEONARDO I. · 评论about 1 month之前

Muhammad Zulkifl H. · 评论about 1 month之前

我们无法确保发布的评价来自已购买或已使用产品的消费者。评价未经 Google 核实。