golang app - running it on docker image.

This is a very simple approach to push your app into a docker image. First you need your Dockerfile which does all the hardwork for you, as shown below :-

Sample code can be found here.


If you want to run on kubernetes, the following yaml describe this deployment. Save this into a file called muxApp.yaml and then run kubectl apply -f deployment.yaml.

This is the service.yaml file by running "kubectl apply -f appservice.yaml"


Popular posts from this blog

A quick tutorial for OWASP ZAP tool for beginners

Owin component : Modifying owin response