diff --git a/site/content/en/docs/faq/_index.md b/site/content/en/docs/faq/_index.md index 016e3c9373..53e5a200c5 100644 --- a/site/content/en/docs/faq/_index.md +++ b/site/content/en/docs/faq/_index.md @@ -34,6 +34,34 @@ minikube profiles are meant to be isolated from one another, with their own sett minikube's VM includes a Docker daemon running inside Linux for free, so you can use `minikube docker-env` to point your terminal's Docker CLI to the Docker inside minikube. +{{% tabs %}} +{{% tab "bash/zsh" %}} +``` +eval $(minikube -p docker-env) +``` +{{% /tab %}} +{{% tab PowerShell %}} +``` +& minikube -p docker-env --shell powershell | Invoke-Expression +``` +{{% /tab %}} +{{% tab cmd %}} +``` +@FOR /f "tokens=*" %i IN ('minikube -p docker-env --shell cmd') DO @%i +``` +{{% /tab %}} +{{% tab fish %}} +``` +minikube -p docker-env | source +``` +{{% /tab %}} +{{% tab tcsh %}} +``` +eval `minikube -p docker-env` +``` +{{% /tab %}} +{{% /tabs %}} + Note: this only works with the "docker" container runtime, not with e.g. "containerd" You would need to start minikube with a VM driver, instead of docker, such as hyperkit on macOS and Hyper-V on Windows.