# Start minikube minikube start # Set docker env eval $(minikube docker-env) # unix shells minikube docker-env | Invoke-Expression # PowerShell # Build image docker build -t foo:0.0.1 . # Run in minikube kubectl run hello-foo --image=foo:0.0.1 --image-pull-policy=Never # Check that it's running kubectl get pods
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter