VirtualBox:
brew cask install virtualbox
Minikube:
brew cask install minikube
minikube start --vm-driver=virtualbox --kubernetes-version v1.12.1
- Reuse Docker daemon.
eval $(minikube docker-env)
- Build Docker image locally.
docker build -t my-image .
Set the imagePullPolicy
to Never
.