Docker for Windows error: “kubectl context missing”

0 votes
I have installed the Edge version of Docker for Windows 18.05.0-ce (Windows 10 Hyper-V) and enabled Kubernetes afterwards. When I ran this on my other machine, a kubectl context was created automatically, but on this new machine it was not.

Is there a way to make Docker for Windows create the context?
Aug 27, 2018 in DevOps & Agile by Sophie may
• 9,850 points
36 views

1 answer to this question.

0 votes
There is an issue with docker for windows when the HOMEDRIVE is set my a corporate policy.

If you set the $KUBECONFIG environment variable to C:\Users\my_username\.kube\config

 This should work.
answered Aug 27, 2018 by Tyrion anex
• 8,270 points

Related Questions In DevOps & Agile

0 votes
1 answer

Error: Unable to access elasticsearch in docker for windows

This is simple, just follow the below ...READ MORE

answered Sep 3, 2018 in DevOps & Agile by Sophie may
• 9,850 points
56 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 56,900 points
189 views
0 votes
1 answer

Docker for windows error: while exposing Ports

I faced a similar issue, just follow ...READ MORE

answered Aug 28, 2018 in DevOps & Agile by Tyrion anex
• 8,270 points
847 views
0 votes
1 answer

Docker for windows error: Database lost on docker restart

If you are using docker-compose down/up, keep in ...READ MORE

answered Sep 19, 2018 in DevOps & Agile by Tyrion anex
• 8,270 points
32 views