Unable to run eval $(minikube -p minikube docker-env)

Viewed 38

I am trying to run

$ eval $(minikube -p minikube docker-env)

To set my current shell to use minikube's docker daemon so I can locally build images and have them available to minikube.

However, when I run the above I get the following output in my terminal

$ eval $(minikube -p minikube docker-env)
bash: $'\E[31m╭──────────────────────────────────────────────────────────────────────────────────────────────────────────╮\E[0m': command not found

I can run minikube -p minikube docker-env fine and get the below output

minikube -p minikube docker-env

export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://127.0.0.1:62037"
export DOCKER_CERT_PATH="/Users/random/.minikube/certs"
export MINIKUBE_ACTIVE_DOCKERD="minikube"

# To point your shell to minikube's docker-daemon, run:
# eval $(minikube -p minikube docker-env)

I am running this on a Mac if it makes any difference.

0 Answers
Related