docker build -t spring-jwt -f Dockerfile . docker image . —tag spring-jwt docker run -d -p 8080:8080 spring-jwt
$ brew install minikube
$ minikube start --driver docker
$ minikube status
$ minikube stop
$ minikube docker-env Run the eval command $ eval $(minikube docker-env)
Build the image $ docker build -t spring-jwt:latest .
$ docker image ls $ minikube image ls --format table
$ kubectl —help $ kubectl get —help
$ kubectl apply -f fine_name.yml
$ kubectl delete -f file_name.yml
$kubectl get pod $kubectl get all $kubectl get node -o wide $kubectl logs {pod-name}
$ kubectl port-forward nodeport:port