如何部署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

如何部署Docker镜像到SAP Cloud Platform

要解决该错误,增大该Subaccount的memory quota即可:

如何部署Docker镜像到SAP Cloud Platform

第二次尝试遇到的错误消息:

Failed getting docker image manifest by tag: errors:
denied: requested access to the resource is denied
unauthorized: authentication required

如何部署Docker镜像到SAP Cloud Platform
如何部署Docker镜像到SAP Cloud Platform

登录docker hub,确认使用的docker镜像和tag是否正确:

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

如何部署Docker镜像到SAP Cloud Platform

最后成功部署:

如何部署Docker镜像到SAP Cloud Platform
如何部署Docker镜像到SAP Cloud Platform

在SAP云平台上看到成功部署的Docker应用:

如何部署Docker镜像到SAP Cloud Platform

拿到应用的url:

如何部署Docker镜像到SAP Cloud Platform

可以成功访问了:

如何部署Docker镜像到SAP Cloud Platform
如何部署Docker镜像到SAP Cloud Platform

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
如何部署Docker镜像到SAP Cloud Platform