### Build container
docker build -t pz/demo .
### Run container
docker run -it --rm -p 8080:8080 pz/demo
## ---
### Load local Docker image into Minikube
minikube image load pz/demo
### Build container directly in minikube
minikube image build -t pz/demo .
### Check Deployment logs
kubectl logs deployment.apps/myapp
### Port forward port to Deployment
kubectl port-forward deployment/myapp 8080:8080
-
Notifications
You must be signed in to change notification settings - Fork 2
mr-pascal/medium-local-docker-image-minikube
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published