天天看點

如何部署Docker鏡像到SAP Cloud Platform

參考SAP官方的幫助文檔:

https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/c190ad6eeb78428c91a2b66e5557f962.html

第一次嘗試,我遇到了下圖的錯誤消息:

You have exceeded your organization's memory limit: app requested more memory than available

FAILED

要解決該錯誤,增大該Subaccount的memory quota即可:

第二次嘗試遇到的錯誤消息:

Failed getting docker image manifest by tag: errors:

denied: requested access to the resource is denied

unauthorized: authentication required

登入docker hub,确認使用的docker鏡像和tag是否正确:

https://hub.docker.com/repository/docker/i042416/ui5-nginx

最後成功部署:

在SAP雲平台上看到成功部署的Docker應用:

拿到應用的url:

可以成功通路了:

本文來自雲栖社群合作夥伴“汪子熙”,了解相關資訊可以關注微信公衆号"汪子熙"。