My environment is MacOS Big Sur 11.6.1 installed minikube with hyperkit driver but when I attempt to use the docker environment it doesn’t seem to work and I tried the following iterations:
[email protected] ~ % minikube start
minikube v1.24.0 on Darwin 11.6.1
MINIKUBE_ACTIVE_DOCKERD=minikube
Using the hyperkit driver based on existing profile
Starting control plane node minikube in cluster minikube
Restarting existing hyperkit VM for “minikube” …
Preparing Kubernetes v1.22.3 on Docker 20.10.8 …
Verifying Kubernetes components…
Using image gcr.io/k8s-minikube/storage-provisioner:v5
Using image kubernetesui/dashboard:v2.3.1
Using image kubernetesui/metrics-scraper:v1.0.7
Enabled addons: storage-provisioner, default-storageclass, dashboard
Done! kubectl is now configured to use “minikube” cluster and “default” namespace by default
[email protected] ~ % minikube docker-env
export DOCKER_TLS_VERIFY=“1”
export DOCKER_HOST=“tcp://192.168.64.2:2376”
export DOCKER_CERT_PATH="/Users/pwstephe/.minikube/certs"
export MINIKUBE_ACTIVE_DOCKERD=“minikube”
To point your shell to minikube’s docker-daemon, run:
eval $(minikube -p minikube docker-env)
[email protected] ~ % eval $(minikube -p minikube docker-env)
[email protected] ~ % docker ps
zsh: command not found: docker
[email protected] ~ % minikube docker-env --shell zsh
export DOCKER_TLS_VERIFY=“1”
export DOCKER_HOST=“tcp://192.168.64.2:2376”
export DOCKER_CERT_PATH="/Users/pwstephe/.minikube/certs"
export MINIKUBE_ACTIVE_DOCKERD=“minikube”
To point your shell to minikube’s docker-daemon, run:
eval $(minikube -p minikube docker-env)
[email protected] ~ % eval $(minikube docker-env --shell zsh)
[email protected] ~ % docker ps
zsh: command not found: docker
[email protected] ~ % minikube docker-env --shell bash
export DOCKER_TLS_VERIFY=“1”
export DOCKER_HOST=“tcp://192.168.64.2:2376”
export DOCKER_CERT_PATH="/Users/pwstephe/.minikube/certs"
export MINIKUBE_ACTIVE_DOCKERD=“minikube”
To point your shell to minikube’s docker-daemon, run:
eval $(minikube -p minikube docker-env)
[email protected] ~ % eval $(minikube docker-env --shell bash)
[email protected]mac ~ % docker ps
zsh: command not found: docker
[email protected] ~ %