go run startServer/main.go
Open LocalHost port 5000 or 5001
Run Docker Daemon
systemctl start docker
Pull docker container
docker pull partharora1010/my-golang-app:v1.0.0
- Running in non detached mode
sudo docker run -p 5000:5000 -it --rm --name my-runing-app partharora1010/my-golang-app:v1.0.0
Open LocalHost port 5000 or 5001
- Running in the detached mode
docker run -p 5000:5000 -tid partharora1010/my-golang-app:v1.0.0
Open LocalHost port 5000 or 5001
kubectl apply -f rhminkube-config.yaml
kubectl port-forward {pod-name} 5000:5000
Open LocalHost port 5000 or 5001