kubernetes/minikube
GitHub で見るmake it obvious in terminal for user if using docker-env
Open
#6,489 opened on 2020年2月4日
co/docker-envgood first issuekind/documentationkind/featurelifecycle/frozenpriority/backlog
説明
I was thinking as part of the eval $(minikube docker-env) we could pass something that changes the terminal Prompt so it is obvious for the user they are usinf minikube's docker not their own docker.
maybe: something like:
medya@~ $ PS1="$PS1""(using minikube dockerd) $:"
that will try turn into
medya@~ $ (using minikube dockerd) $:
the minikube word would be profile name, this will also make it clear which profile's docker-env we are using.
helps with https://github.com/kubernetes/minikube/issues/6462 helps with https://github.com/kubernetes/minikube/issues/6437
also we could explicity set a ENV that says
USES_MINIKUBE_DOCKERD=PROFILE_NAME