

Google Cloud Platform安裝 Docker,how to install google play谷歌云平臺安裝Docker谷歌計算引擎圖像快速啟動1。轉(zhuǎn)到Google云控制臺,創(chuàng)建一個新的云計算項目并啟用云引擎2。使用以下命令下載Google Cloud SDK并配置您的項目:$科爾·https://......
1。轉(zhuǎn)到Google云控制臺,創(chuàng)建一個新的云計算項目并啟用云引擎
2。使用以下命令下載Google Cloud SDK并配置您的項目:
$科爾·https://sdk.cloud.google.com bash $ gcloud認證登錄$ g cloud配置集項目googlecloudprojectid
3。啟動一個新的實例,并使用最新的容器優(yōu)化映像:(選擇一個與所需實例大小相近的分區(qū))
$ gcloud計算實例創(chuàng)建dockerplayground \image https://www . Google APIs . com/compute/v1/projects/Googlecontainers/global/images/containerVMv 2014 05 22 \zone uscentral 1a \machinetype f1micro
4。用ssh連接這個實例:
$ g cloud compute sshzone uscentral 1a dockerplayground dockerplayground:~ $ sudo docker run helloworld
Docker輸出hello word消息,說明你的Docker工作正常。
特別聲明:以上文章內(nèi)容僅代表作者本人觀點,不代表ESG跨境電商觀點或立場。如有關(guān)于作品內(nèi)容、版權(quán)或其它問題請于作品發(fā)表后的30日內(nèi)與ESG跨境電商聯(lián)系。
二維碼加載中...
使用微信掃一掃登錄
使用賬號密碼登錄
平臺顧問
微信掃一掃
馬上聯(lián)系在線顧問
小程序
ESG跨境小程序
手機入駐更便捷
返回頂部