Config option variables
minikube supports passing environment variables instead of flags for every value listed in
minikube config. This is done by passing an environment variable with the prefix
For example the
minikube start --iso-url="$ISO_URL" flag can also be set by setting the
MINIKUBE_ISO_URL="$ISO_URL" environment variable.
Some features can only be accessed by environment variables, here is a list of these features:
MINIKUBE_HOME - (string) sets the path for the .minikube directory that minikube uses for state/configuration
MINIKUBE_IN_STYLE - (bool) manually sets whether or not emoji and colors should appear in minikube. Set to false or 0 to disable this feature, true or 1 to force it to be turned on.
MINIKUBE_WANTUPDATENOTIFICATION - (bool) sets whether the user wants an update notification for new minikube versions
MINIKUBE_REMINDERWAITPERIODINHOURS - (int) sets the number of hours to check for an update notification
CHANGE_MINIKUBE_NONE_USER - (bool) automatically change ownership of ~/.minikube to the value of $SUDO_USER
MINIKUBE_ENABLE_PROFILING - (int,
1enables it) enables trace profiling to be generated for minikube
Example: Disabling emoji
export MINIKUBE_IN_STYLE=false minikube start
Making values persistent
To make the exported variables persistent across reboots:
- Linux and macOS: Add these declarations to
~/.bashrcor wherever your shells environment variables are stored.
- Windows: Add these declarations via system settings or using setx