huawei-microservice-demo / catalogue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

catalogue app

Catalogue application written in [Go] that provides catalogue/product information.Source Code will be available soon.

Step1:

git clone https://github.com/huawei-microservice-demo/catalogue.git

Step2:

cd catalogue

Step4: Build the docker image

docker build -t [docker-image-name:version-tag] .

Step5: Tag the image with service stage

docker tag [docker-image-name:version-tag] registry.cn-north-1.hwclouds.com/hwcse/[docker-image-name:version-tag] Note: hwcse is service stage username. registry.cn-north-1.hwclouds.com is service stage available zone.

Step6: Docker login

docker login -u [username] -p [private-key] [registry-name]

Step7: Docker push

docker push registry.cn-north-1.hwclouds.com/hwcse/[docker-image-name:version-tag]

Step8:

Create the appliation in service stage and give the respective docker image path.

Step9:

Login to the service stage and check the status of application.

About


Languages

Language:Shell 100.0%