From 8a72fc88f15e9551105ded92ef485161a3ab5983 Mon Sep 17 00:00:00 2001 From: Andrew Kostka Date: Tue, 12 Nov 2024 10:55:13 +0000 Subject: [PATCH] Keep container images when recreating minikube --- .gitignore | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..309b517db --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +docker-cache diff --git a/Makefile b/Makefile index eb0b2bc3a..41e9713a0 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ help: .PHONY: minikube-start minikube-start: # @HELP Start a local k8s cluster using minikube minikube-start: - minikube --profile minikube-wbaas start --kubernetes-version=1.28.9 --container-runtime=docker + minikube --profile minikube-wbaas start --kubernetes-version=1.28.9 --container-runtime=docker --mount --mount-string="./docker-cache:/var/lib/docker" .PHONY: minikube-stop minikube-stop: # @HELP Stop the local minikube cluster