for-mac icon indicating copy to clipboard operation
for-mac copied to clipboard

K8s engine failed to start on macOS 10.15.6

Open gengmao opened this issue 6 years ago • 13 comments

  • [x] I have tried with the latest version of my channel (Stable or Edge)
  • [x] I have uploaded Diagnostics
  • Diagnostics ID: 5DD2EB55-FA3E-4288-B6DD-791ED8132DE5/20200804185151

Expected behavior

Start Kubernetes engine

Actual behavior

Failed to start. Reset/Uninstall didn't work.

Information

  • macOS Version: 10.15.6

Diagnostic logs

Docker for Mac: version...
Version: 2.3.0.4 (46911) 
Channel: stable 

Steps to reproduce the behavior

  1. upgrade docker for mac to latest stable (ver 2.3.0.4) or edge channels.

gengmao avatar Aug 04 '20 19:08 gengmao

I am also having this issue.

chujanen avatar Aug 05 '20 12:08 chujanen

@gengmao @chujanen are you guys using a non-default location for your vm files?

wiiiimm avatar Aug 06 '20 03:08 wiiiimm

I was using default

gengmao avatar Aug 06 '20 17:08 gengmao

i also have the same issue.

woolparka avatar Aug 06 '20 18:08 woolparka

Also experience this issue - any chance for a fix primo next week? (or is the solution to downgrade docker desktop?)

raix avatar Aug 07 '20 12:08 raix

I am also having this issue too.

$ kubectl get nodes
Unable to connect to the server: EOF

$ kubectl config get-contexts
CURRENT   NAME                 CLUSTER          AUTHINFO         NAMESPACE
*         docker-desktop       docker-desktop   docker-desktop     
          minikube             minikube         minikube 

After Reset to factory defaults and enable Kubenetes, I run kubectl config use-context docker-desktop and it works again

$ kubectl get nodes
NAME             STATUS   ROLES    AGE     VERSION
docker-desktop   Ready    master   8m56s   v1.16.6-beta.0

dangthanh360 avatar Aug 09 '20 07:08 dangthanh360

I hit this. I did a complete uninstall/reinstall and it started working again.

jasonaliyetti avatar Aug 12 '20 20:08 jasonaliyetti

I ended up doing the same as @jasonaliyetti and it also started working.

chujanen avatar Aug 14 '20 01:08 chujanen

Installed supplemental update for macOS Catalina 10.15.6, uninstalled and reinstalled Docker edge, problem remains.

gengmao avatar Aug 14 '20 02:08 gengmao

Confirmed: Installed supplemental update for macOS Catalina 10.15.6, uninstalled and reinstalled Docker edge, fixed my problem. Only the FROM image/OS in dockerfile rule is about 5 minutes loading. before update it download directly the OS image.

cfcode avatar Aug 14 '20 09:08 cfcode

Hi all,

I had the same problem on Mac OS catalina 10.15.6 and latest update. I Reset,Clean,Reset, uninstall, reboot, reinstall, .... Tried a lot of different things nothing worked. Kubernetes was always failing to start...

I ran a diagnostics and went through the logs. I could see some error related to contexts... I'm connecting to several cluster and have around 10 kubectl context on my machine.

I made sure to be on the docker-desktop context and restarted docker desktop. Kubernetes started successfuly then.

So make sure to be have the proper context set before starting it:

kubectl config use-context docker-desktop

Hope this helps anyone.

AlexandreRoba avatar Aug 17 '20 09:08 AlexandreRoba

Awesome, @AlexandreRoba! Switching context to docker-desktop resolved this problem. Thank you so much for sharing it.

gengmao avatar Aug 17 '20 21:08 gengmao

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked

docker-robott avatar Sep 16 '20 03:09 docker-robott