I check "Enable Kubernetes" but it reports "Kubernetes is starting..." indefinitely
- [X] I have tried with the latest version of my channel (Stable or Edge)
- [X] I have uploaded Diagnostics
- Diagnostics ID: 9DCB8332-16A2-4094-9E4A-F5D7D1A6C30C/20181128023956
Expected behavior
When I enable Kubernetes, it should start. When I disable Kubernetes, it should become idle.
Actual behavior
The status message in the dropdown says, "Kubernetes is starting..." and that never changes. Even if I try to uncheck the "Enable Kubernetes" it continues. Even when I reset Kubernetes, it forces the checkbox to be checked again.
Information
This has happened since the very first time I checked the Enable Kubernetes box.
- macOS Version: 10.13.6
Diagnostic logs
time="2018-11-27T21:39:58-05:00" level=info msg="Start gathering list of 83 elements (timeout=10m0s)" type=list
time="2018-11-27T21:39:58-05:00" level=info msg="Executing: [sw_vers -productVersion]" type=cmd
time="2018-11-27T21:39:58-05:00" level=info msg="Executing: [sw_vers -buildVersion]" type=cmd
time="2018-11-27T21:39:58-05:00" level=info msg="Executing: [uname -r]" type=cmd
time="2018-11-27T21:39:58-05:00" level=info msg="Executing: [sysctl kern.boottime]" type=cmd
time="2018-11-27T21:39:58-05:00" level=info msg="Executing: [sysctl hw.memsize]" type=cmd
time="2018-11-27T21:39:58-05:00" level=info msg="Executing: [vm_stat]" type=cmd
time="2018-11-27T21:39:58-05:00" level=info msg="Executing: [sysctl machdep.cpu]" type=cmd
time="2018-11-27T21:39:58-05:00" level=info msg="Executing: [uname -a]" type=cmd
time="2018-11-27T21:39:58-05:00" level=info msg="Executing: [ps uax]" type=cmd
time="2018-11-27T21:39:59-05:00" level=info msg="Executing: [dmesg]" type=cmd
time="2018-11-27T21:39:59-05:00" level=warning msg="[dmesg] exit status 1" type=cmd
time="2018-11-27T21:39:59-05:00" level=warning msg="[dmesg]: Unable to obtain kernel buffer: Operation not permitted\nusage: sudo dmesg\n" type=cmd
time="2018-11-27T21:39:59-05:00" level=info msg="Executing: [id]" type=cmd
time="2018-11-27T21:39:59-05:00" level=info msg="Executing: [sysctl -a]" type=cmd
time="2018-11-27T21:39:59-05:00" level=info msg="Executing: [mount]" type=cmd
time="2018-11-27T21:39:59-05:00" level=info msg="Executing: [df -h]" type=cmd
time="2018-11-27T21:39:59-05:00" level=info msg="Executing: [launchctl print-disabled system]" type=cmd
time="2018-11-27T21:39:59-05:00" level=info msg="Executing: [system_profiler SPHardwareDataType]" type=cmd
time="2018-11-27T21:39:59-05:00" level=info msg="Executing: [defaults read /Library/Preferences/com.apple.alf.plist]" type=cmd
time="2018-11-27T21:39:59-05:00" level=info msg="Executing: [ifconfig -a]" type=cmd
time="2018-11-27T21:39:59-05:00" level=info msg="Executing: [netstat -ln]" type=cmd
time="2018-11-27T21:39:59-05:00" level=info msg="Executing: [netstat -mm]" type=cmd
time="2018-11-27T21:39:59-05:00" level=info msg="Executing: [netstat -nr]" type=cmd
time="2018-11-27T21:39:59-05:00" level=info msg="Gathering: /etc/resolv.conf" type=file
time="2018-11-27T21:39:59-05:00" level=info msg="Executing: [scutil --dns]" type=cmd
time="2018-11-27T21:39:59-05:00" level=info msg="Executing: [scutil --nc list]" type=cmd
time="2018-11-27T21:39:59-05:00" level=info msg="Executing: [scutil --proxy list]" type=cmd
time="2018-11-27T21:39:59-05:00" level=info msg="Executing: [system_profiler SPFirewallDataType]" type=cmd
time="2018-11-27T21:39:59-05:00" level=info msg="HTTP GET: localhost /v1.24/version" type=http
time="2018-11-27T21:40:00-05:00" level=info msg="HTTP GET: localhost /v1.24/info" type=http
time="2018-11-27T21:40:00-05:00" level=info msg="HTTP GET: localhost /v1.24/containers/json?all=1" type=http
time="2018-11-27T21:40:00-05:00" level=info msg="HTTP GET: localhost /v1.24/nodes" type=http
time="2018-11-27T21:40:00-05:00" level=info msg="HTTP GET: localhost /v1.24/services" type=http
time="2018-11-27T21:40:00-05:00" level=info msg="HTTP GET: localhost /v1.24/networks" type=http
time="2018-11-27T21:40:00-05:00" level=info msg="Executing: [/bin/sh -c docker network inspect $(docker network ls -q)]" type=cmd
time="2018-11-27T21:40:01-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace docker describe pods]" type=cmd
time="2018-11-27T21:40:01-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace docker describe daemonset]" type=cmd
time="2018-11-27T21:40:01-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace docker describe replicaset]" type=cmd
time="2018-11-27T21:40:01-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace docker describe deployments]" type=cmd
time="2018-11-27T21:40:02-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system describe pods]" type=cmd
time="2018-11-27T21:40:02-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system describe daemonset]" type=cmd
time="2018-11-27T21:40:02-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system describe replicaset]" type=cmd
time="2018-11-27T21:40:02-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system describe deployments]" type=cmd
time="2018-11-27T21:40:03-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system describe po/etcd-docker-for-desktop]" type=cmd
time="2018-11-27T21:40:03-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system logs po/etcd-docker-for-desktop etcd]" type=cmd
time="2018-11-27T21:40:03-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system describe po/kube-apiserver-docker-for-desktop]" type=cmd
time="2018-11-27T21:40:04-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system logs po/kube-apiserver-docker-for-desktop kube-apiserver]" type=cmd
time="2018-11-27T21:40:04-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system describe po/kube-controller-manager-docker-for-desktop]" type=cmd
time="2018-11-27T21:40:04-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system logs po/kube-controller-manager-docker-for-desktop kube-controller-manager]" type=cmd
time="2018-11-27T21:40:04-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system describe po/kube-dns-86f4d74b45-wn9wm]" type=cmd
time="2018-11-27T21:40:05-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system logs po/kube-dns-86f4d74b45-wn9wm kubedns]" type=cmd
time="2018-11-27T21:40:05-05:00" level=warning msg="[/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system logs po/kube-dns-86f4d74b45-wn9wm kubedns] exit status 1" type=cmd
time="2018-11-27T21:40:05-05:00" level=warning msg="[/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system logs po/kube-dns-86f4d74b45-wn9wm kubedns]: Error from server (BadRequest): container \"kubedns\" in pod \"kube-dns-86f4d74b45-wn9wm\" is waiting to start: ImageInspectError\n" type=cmd
time="2018-11-27T21:40:05-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system logs po/kube-dns-86f4d74b45-wn9wm dnsmasq]" type=cmd
time="2018-11-27T21:40:05-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system logs po/kube-dns-86f4d74b45-wn9wm sidecar]" type=cmd
time="2018-11-27T21:40:05-05:00" level=warning msg="[/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system logs po/kube-dns-86f4d74b45-wn9wm sidecar] exit status 1" type=cmd
time="2018-11-27T21:40:05-05:00" level=warning msg="[/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system logs po/kube-dns-86f4d74b45-wn9wm sidecar]: Error from server (BadRequest): container \"sidecar\" in pod \"kube-dns-86f4d74b45-wn9wm\" is waiting to start: ImageInspectError\n" type=cmd
time="2018-11-27T21:40:05-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system describe po/kube-proxy-t5hnw]" type=cmd
time="2018-11-27T21:40:06-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system logs po/kube-proxy-t5hnw kube-proxy]" type=cmd
time="2018-11-27T21:40:06-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system describe po/kube-scheduler-docker-for-desktop]" type=cmd
time="2018-11-27T21:40:06-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop --namespace kube-system logs po/kube-scheduler-docker-for-desktop kube-scheduler]" type=cmd
time="2018-11-27T21:40:07-05:00" level=info msg="Executing: [/bin/sh -c /usr/bin/log show --debug --info --style syslog --last 1d --predicate 'process matches \".*[Dd]ocker.*\" || (process in {\"kernel\", \"launchservicesd\", \"taskgated-helper\"} && eventMessage contains[c] \"docker\")']" type=cmd
time="2018-11-27T21:40:45-05:00" level=info msg="Executing: [syslog -F $((Time)(JZ)) $Host $(Sender)[$(Facility)][$(PID)] <$((Level)(str))>: $Message -o -k Sender Seq docker -o -k Sender Seq Docker -o -k Message Seq docker -o -k Message Seq Docker]" type=cmd
time="2018-11-27T21:40:46-05:00" level=warning msg="[syslog -F $((Time)(JZ)) $Host $(Sender)[$(Facility)][$(PID)] <$((Level)(str))>: $Message -o -k Sender Seq docker -o -k Sender Seq Docker -o -k Message Seq docker -o -k Message Seq Docker]: NOTE: Most system logs have moved to a new logging system. See log(1) for more information.\n" type=cmd
time="2018-11-27T21:40:46-05:00" level=info msg="Executing: [/bin/sh -c lsof -n -P -p $(pgrep -o com.docker.driver.amd64-linux)]" type=cmd
time="2018-11-27T21:40:46-05:00" level=info msg="Executing: [/bin/sh -c lsof -n -P -p $(pgrep -o com.docker.hyperkit)]" type=cmd
time="2018-11-27T21:40:46-05:00" level=info msg="Executing: [/bin/sh -c lsof -n -P -p $(pgrep -o com.docker.osxfs)]" type=cmd
time="2018-11-27T21:40:46-05:00" level=info msg="Executing: [/bin/sh -c lsof -n -P -p $(pgrep -o com.docker.supervisor)]" type=cmd
time="2018-11-27T21:40:46-05:00" level=info msg="Executing: [/bin/sh -c lsof -n -P -p $(pgrep -o com.docker.vpnkit)]" type=cmd
time="2018-11-27T21:40:46-05:00" level=info msg="Executing: [/bin/sh -c lsof -n -P -p $(pgrep -o com.docker.vmnetd)]" type=cmd
time="2018-11-27T21:40:46-05:00" level=warning msg="[/bin/sh -c lsof -n -P -p $(pgrep -o com.docker.vmnetd)] exit status 1" type=cmd
time="2018-11-27T21:40:47-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop version ]" type=cmd
time="2018-11-27T21:40:47-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop config get-contexts]" type=cmd
time="2018-11-27T21:40:47-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop config current-context]" type=cmd
time="2018-11-27T21:40:47-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop get nodes]" type=cmd
time="2018-11-27T21:40:47-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop get namespaces]" type=cmd
time="2018-11-27T21:40:48-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop describe nodes]" type=cmd
time="2018-11-27T21:40:48-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop describe pods --all-namespaces]" type=cmd
time="2018-11-27T21:40:48-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop cluster-info dump]" type=cmd
time="2018-11-27T21:40:49-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop describe services --all-namespaces]" type=cmd
time="2018-11-27T21:40:49-05:00" level=info msg="Executing: [/usr/local/bin/kubectl.docker --context docker-for-desktop describe storageclass,pv,pvc]" type=cmd
time="2018-11-27T21:40:49-05:00" level=info msg="Executing: [/Applications/Docker.app/Contents/MacOS/qcow-tool check /Users/johnblack/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2]" type=cmd
time="2018-11-27T21:40:49-05:00" level=warning msg="[/Applications/Docker.app/Contents/MacOS/qcow-tool check /Users/johnblack/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2]: qcow-tool: [INFO] image has 461 free sectors and 96703 used sectors\n" type=cmd
time="2018-11-27T21:40:49-05:00" level=info msg="Gathering: /Users/johnblack/Library/Group Containers/group.com.docker/DockerAppStderr.txt" type=file
time="2018-11-27T21:40:49-05:00" level=info msg="Gathering: /Users/johnblack/Library/Group Containers/group.com.docker/already-enabled-features.json" type=file
time="2018-11-27T21:40:49-05:00" level=info msg="Gathering: /Users/johnblack/Library/Group Containers/group.com.docker/dhcp.json" type=file
time="2018-11-27T21:40:49-05:00" level=info msg="Gathering: /Users/johnblack/Library/Group Containers/group.com.docker/features.json" type=file
time="2018-11-27T21:40:49-05:00" level=info msg="Gathering: /Users/johnblack/Library/Group Containers/group.com.docker/http_proxy.json" type=file
time="2018-11-27T21:40:49-05:00" level=info msg="Gathering: /Users/johnblack/Library/Group Containers/group.com.docker/last-start-linux-daemon.json" type=file
time="2018-11-27T21:40:49-05:00" level=info msg="Gathering: /Users/johnblack/Library/Group Containers/group.com.docker/settings.json" type=file
time="2018-11-27T21:40:49-05:00" level=warning msg="/Users/johnblack/Library/Preferences/group.com.docker.pliststat /Users/johnblack/Library/Preferences/group.com.docker.plist: no such file or directory" type=file
time="2018-11-27T21:41:03-05:00" level=info msg="Gathering: /Users/johnblack/.docker/config.json" type=redacted-json
time="2018-11-27T21:41:03-05:00" level=info msg="Gathering: /Users/johnblack/.docker/daemon.json" type=redacted-json
time="2018-11-27T21:41:03-05:00" level=info msg="Getting Linux Diagnostics via a virtio socket: hyperkit:vms/0:62374" type=virtsock
time="2018-11-27T21:41:47-05:00" level=info msg="All 83 gatherers finished" type=list
Docker for Mac: version...
Version 2.0.0.0-mac77 (28700)
Steps to reproduce the behavior
- Start Docker for Mac.
- Check the Enable Kubernetes box.
same for me :-(
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen comment.
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale
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