8000 minikube/docs/cache.md at fixtest · kevinwangl/minikube · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 727 Bytes

cache.md

File metadata and controls

20 lines (15 loc) · 727 Bytes

Caching Images

Minikube supports caching non-minikube images using the minikube cache command. Images can be added to the cache by running minikube cache add <img>, and deleted by running minikube cache delete <img>.

Images in the cache will be loaded on minikube start. If you want to list all available cached images, you can use minikube cache list command to list. Below is an example of this functionality:

# cache a image into $HOME/.minikube/cache/images
$ minikube cache add ubuntu:16.04
$ minikube cache add redis:3

# list cached images
$ minikube cache list
redis:3
ubuntu:16.04

# delete cached images
$ minikube cache delete ubuntu:16.04
$ minikube cache delete $(minikube cache list)
0