Open
Description
Steps to reproduce the issue:
- Pull the alpine:3.11 and alpine:3.12 image and tag alpine:3.11 as test
-
Add a cache with the following command
minikube cache add alpine:test
-
Enter the minikube container and check if the image exists
- Tag alpine:3.12 as test
-
Reload the cache
minikube cache reload alpine:test
-
I check the image again, but it hasn't changed
Optional: Full output of minikube logs
command:
user@user ~ % minikube cache reload alpine:test -v=6 --alsologtostderr
I1230 00:30:52.617760 11506 out.go:221] Setting OutFile to fd 1 ...
I1230 00:30:52.618211 11506 out.go:273] isatty.IsTerminal(1) = true
I1230 00:30:52.618219 11506 out.go:234] Setting ErrFile to fd 2...
I1230 00:30:52.618223 11506 out.go:273] isatty.IsTerminal(2) = true
I1230 00:30:52.618361 11506 root.go:280] Updating PATH: /Users/user/.minikube/bin
I1230 00:30:52.618678 11506 cache.go:92] acquiring lock: {Name:mk21f3e783644f4fb459dda56815a449b17b30ed Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1230 00:30:52.618797 11506 cache.go:100] /Users/user/.minikube/cache/images/alpine_test exists
I1230 00:30:52.618810 11506 cache.go:81] cache image "alpine:test" -> "/Users/user/.minikube/cache/images/alpine_test" took 142.87µs
I1230 00:30:52.618817 11506 cache.go:66] save to tar file alpine:test -> /Users/user/.minikube/cache/images/alpine_test succeeded
I1230 00:30:52.618824 11506 cache.go:73] Successfully saved all images to host disk.
I1230 00:30:52.619292 11506 cli_runner.go:111] Run: docker ps -a --filter label=name.minikube.sigs.k8s.io --format {{.Names}}
I1230 00:30:52.768326 11506 cli_runner.go:111] Run: docker container inspect minikube --format={{.State.Status}}
I1230 00:30:52.903556 11506 ssh_runner.go:149] Run: systemctl --version
I1230 00:30:52.903697 11506 cli_runner.go:111] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I1230 00:30:53.036130 11506 sshutil.go:48] new ssh client: &{IP:127.0.0.1 Port:55007 SSHKeyPath:/Users/user/.minikube/machines/minikube/id_rsa Username:docker}
I1230 00:30:53.148720 11506 ssh_runner.go:149] Run: docker images --format {{.Repository}}:{{.Tag}}
I1230 00:30:53.207718 11506 docker.go:382] Got preloaded images: -- stdout --
alpine:test