Document minikube image
semantics about locations
#12270
Labels
area/image
Issues/PRs related to the minikube image subcommand
kind/documentation
Categorizes issue or PR as related to documentation.
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
minikube image
, an alternative to usingminikube docker-env
anddocker image
that supports multiple container runtimes(originally we added
minikube podman-env
andpodman-remote image
, but it didn't scale to other runtimes - like containerd)Dockerfile
+ build contextcrictl images
)crictl pull
)crictl rmi
)load
a)
This command loads an image to the minikube cluster
~/.minikube/cache/images
--daemon
), to cache--remote
), to cacheNote: the image will always been copied into the cache directory
b)
Alternatively, load image directly from local tarball file (.tar)
Note: the image will not be copied into the cache/daemon/remote
pull
Not implemented (separately), seeminikube image load --pull
.save
a)
This commands saves an image from the minikube cluster
~/.minikube/cache/images
--daemon
), from cache--remote
), from cacheNote: the image will always been copied into the cache directory
b)
Alternatively, save image directly to local tarball file (.tar)
Note: the image will not be copied into the cache/daemon/remote
push
Not implemented (separately), seeminikube image build --push
.In the current implementation, "load" will automatically check with daemon and remote if the image is not found in the cache.
This means that you might have to use --daemon=false --remote=false if you want to avoid this, e.g. no Docker or if offline
In the current implementation, "save" will default to the cache and only upload to daemon and remote if explicitly requested to.
This means that you might have to use --daemon=true --remote=true if you expect this uploading to happen automatically
Note: currently we are using crane to do the downloading.
See https://github.com/google/go-containerregistry
It will use the "tarball" format by default, not "legacy".
Currently there is no minikube support for OCI images.
The text was updated successfully, but these errors were encountered: