mibrahim.iti
mibrahim.iti

Reputation: 2060

The docker host is currently not running

From Ubuntu 18.0.4 i am trying to run next command on terminal

eval $(minikube docker-env)

but unfortunately i got next message

enter image description here

and when i checked docker status i see it's running and active

enter image description here

Note: I started minikube cluster using next command

minikube start -p ClusterName

not using

minikube start

any idea how i can solve this problem?

Upvotes: 3

Views: 2062

Answers (1)

Marc ABOUCHACRA
Marc ABOUCHACRA

Reputation: 3463

If you started your minikube instance with

minikube start -p ClusterName

Then you'll have to put the profile name for each command

minikube docker-env -p ClusterName

So you finally can run next command to get it work

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

Upvotes: 10

Related Questions