Skip to content

Docker simple applicaiotn , and make it runing on the SAP Business Platform Cloud Foundry Enviroment

Notifications You must be signed in to change notification settings

seyaFly/SAPBTP_DOCKER_SIMPLE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

English

This demo can be used for developer to build the deploy docker image to SAP BTP enviroment

Table Of Content

Preparation

Insall Docker on your development enviroment

Build

Build docker images with the command : docker build -t=”docker_node_helloworld .

Notes : Don't messing DOT

Test

Run the command to start the image : docker run -p 4000:4000 docker_node_helloworld

Test it with the link : : http://localhost:4000

Response : Hello World

Push to docker Hub

Command :

docker login
docker tag docker_node_helloworld {{your dockerhubName}}/my_docker_image_v1
docker push {{your DokerhubName}}/my_docker_image_v1

Push to SAP BTP

Command:

cf api {{apiendpoint}}
cf login -u {{username}} -p {{password}}
cf push my_docker_appv1 --docker-image {{your dokerhubName}}/my_docker_image_v1:latest --docker-username {{your dockerhubName}}

Reference

Deploy Docker Image : deploy-application-using-docker-container-on-sap-cloud-foundry-2020/

About

Docker simple applicaiotn , and make it runing on the SAP Business Platform Cloud Foundry Enviroment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published