starting minikube using cntlm gives Local proxy ignored: not passing HTTP_PROXY=http://localhost:3128 to docker env

Viewed 1194

I am behind a corporate proxy and need to use cntlm. Hence my proxy env variables are as follows

https_proxy=http://localhost:3128
http_proxy=http://localhost:3128

Now when I try to start minikube using minikube start I get the following errors

ā—  Local proxy ignored: not passing HTTP_PROXY=http://localhost:3128 to docker env.

ā—  Local proxy ignored: not passing HTTPS_PROXY=http://localhost:3128 to docker env.

However since I'm using cntlm the proxy should be localhost:3128. How do I get over this problem. I tried the following as well without any success and get the same error

minikube start --docker-env HTTP_PROXY=http://127.0.0.1:3128 --docker-env HTTPS_PROXY=http://127.0.0.1:3128
1 Answers

I have the same problem. I had CNTLM listen on IPv6 localhost interface ::1 and told minikube to proxy via that one:

HTTP_PROXY=http://::1:3128  ...
Related