GCP 部署 Container 教學 - 建立
- 勾選 Container ,此時會更換 Boot Disk 為 Container-Optimized OS
- 設定 Container Image,如果並非公開 Image,而是自行打包的 Image,可以 push 至 GCS 上或使用 Google Cloud Container Builder(兩者皆需安裝 Google Cloud SDK)
Jan 08
$ docker build -t ///: -f ./Dockerfile .
#ex
$ docker build -t us.gcr.io/hello-gcp/hello-gcp/myapp:0.1.13b -f ./Dockerfile .
其中 gcr.io 可依專案 region 切換
$ gcloud docker -- push ///:
#ex
$ gcloud docker -- push us.gcr.io/hello-gcp/hello-gcp/myapp:0.1.13b
Cloud Container Builder
$ gcloud container builds submit -t
#ex
$ gcloud container builds submit -t us.gcr.io/hello-gcp/hello-gcp/myapp:0.1.13b .
Contact CloudMile
Contact Us
Proven Experience Across Diverse Industries
Phone Number
Reason for Inquiry
Electrum Advisory
MileInfra - Cloud Infrastructure Modernization
Enterprise Technical Training
MileSec - Multi-Cloud Security and Operations
MileData - Cloud Data Management and Automation
MileOps - Hybrid and Multi-Cloud Operations
MileAI - Generative AI Applications and Innovation
LumiTure.ai AI-Powered FinOps Platform
Other
Confirm and Return
If you wish to unsubscribe, please click: Unsubscribe from Newsletter
Confirm and Return
Confirm and Return