如何部署Docker镜像到SAP Cloud Platform

参考SAP官方的帮助文档:SAP Help Portal

第一次尝试,我遇到了下图的错误消息:

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是否正确:

 

Docker Hub

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