From db49fefbdd4c11a106219632282f7a01a004cd8f Mon Sep 17 00:00:00 2001 From: Victor Denisov Date: Fri, 3 Jun 2022 16:00:53 -0700 Subject: [PATCH] Clarify how to push docker image to minikube --- sample-operators/webpage/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sample-operators/webpage/README.md b/sample-operators/webpage/README.md index c591e712c3..afbabf4abe 100644 --- a/sample-operators/webpage/README.md +++ b/sample-operators/webpage/README.md @@ -53,6 +53,12 @@ If you want the Operator to be running as a deployment in your cluster, follow t ### Build +In order to point your docker build to minikube docker registry run: + +``` +eval $(minikube docker-env) +``` + You can build the sample using `mvn jib:dockerBuild` this will produce a Docker image you can push to the registry of your choice. The JAR file is built using your local Maven and JDK and then copied into the Docker image.