A Containerized Node JS web app display helloworld
- Install Docker desktop
- Enable Kubernetes
- Setup local docker registry Reference
docker run -d -p 5000:5000 --restart=always --name registry registry:2
docker build -t localhost:5000/hello-world-image .
docker push localhost:5000/hello-world-image
kubectl create configmap file12-config --from-file=files-1.yml
kubectl create configmap file3-config --from-file=files-2.yml
kubectl create -f deployment.yml
- Remove docker registry
docker container stop registry
docker container stop registry && docker container rm -v registry