Closed thomas-weinstein-bosch closed 3 years ago
Faced the same issue today, tried this solution with no luck: https://github.com/docker/for-win/issues/1962#issuecomment-447609018
I switched now to the EDGE channel and it looks a bit better, instead of localhost:6445 endlessly throwing the error that no nodes could be listed, the master now seems to start up, but the system pods don't start up.
looking into the respective docker images, it gives the following error: "k8s.io/client-go/informers/factory.go:132: Failed to list *v1.Service: Get https://vm.docker.internal:6443/api/v1/services?limit=500&resourceVersion=0: x509: certificate is valid for docker-for-desktop, kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc.cluster.local, host.docker.internal, not vm.docker.internal " is this something I can configure from outside?
Try deleting the PKI folder from C:\ProgramData\DockerDesktop
Reinstalled Docker (used Edge channel, as switching before from Edge to Stable and Changing DNS configuration from Automatic to 8.8.8.8 didn't help). But as you mentioned in #3769 deleting C:\ProgramData\DockerDesktop made a magic. Installed Docker for Windows (Edge channel), removed that folder and voila, both services are green in Docker options.
same here, using edge and deleting that folder now made both services green for me as well. thanks a lot!
Same here, deleting the pki
directory in C:\programdata\DockerDesktop
solved it.
I was getting this message: 0/3 system pods running, found labels but still waiting for labels k8s-app=kube-dns
. No pods were running, and I could query k8s. I stopped Docker, removed the directory, and started Docker. The directory was recreated, and all the system pods are there now.
An initial investigation suggests this could be an installer bug when you install a new version over the top of an existing one and the certs don't get updated. Uninstalling deletes the folder so a clean uninstall / reinstall should work fine.
Had an apparantly same issue today (Win 10 Pro, Docker Desktop - edge release) and fixed it by renaming the pki folder and resetting the Kuberenetes cluster.
Thanks for the #3769 issue, guys!
Also experienced what seems to be the same issue (Win 10 Pro, Docker Desktop Stable version 2.1.0.1 (37199), haven't tried Edge yet). As others have already mentioned, deleting the pki folder allowed the Kubernetes cluster to start, but only until the next time I rebooted at which point the symptoms reappeared. :-(
I faced same issue even whit latest Docker Desktop version since I moved Hyper-V VM to another location. Is anyone person known a fix or workaround ?
Please bellow my logs : [00:00:00.411][ApiProxy ][Warning] time="2019-08-13T00:00:00+02:00" msg="Error while setting up kubernetes: cannot update the host kube config: cannot load current kubernetes config: Error loading config file \"C:\Users\cvoluter\.kube\config\": yaml: control characters are not allowed. Retrying in 1s" [00:00:00.621][ApiProxy ][Info ] time="2019-08-13T00:00:00+02:00" msg="Cluster config received" [00:
as #1962 --> delete both pki & .kube folder fixed my issue
once delete pki &.kube, reset, re-enable kubernetes, how long do you have to wait for the installation to complete?
No need re-install, just reset it should up as fast as fresh.
i found a solution and the reason: the reason is, that Hyper-V reserves alot of ports automatically, the solution is this; https://github.com/docker/for-win/issues/3171#issuecomment-459205576 but instead of
netsh int ipv4 add excludedportrange protocol=tcp startport=50051 numberofports=1
you do
netsh int ipv4 add excludedportrange protocol=tcp startport=6443 numberofports=1
I had same issue, today by docker updated itself. I thought this would be a good prompt to go and find out what kubernetes was all about.
But never starts. Looping with the following 3 log entries over and over.
[14:44:41.557][ApiProxy ][Warning] time="2019-10-21T14:44:41-07:00" msg="Error while setting up kubernetes: cannot expose the external port: listen tcp 127.0.0.1:6443: bind: An attempt was made to access a socket in a way forbidden by its access permissions.. Retrying in 1s"
[14:44:41.671][ApiProxy ][Info ] time="2019-10-21T14:44:41-07:00" msg="Cluster config received"
[14:44:41.681][GoBackendProcess ][Info ] Adding tcp forward from 127.0.0.1:6443 to 127.0.0.1:6443
my excluded port ranges are as follows:
PS C:\Users\lx_b> netsh interface ipv4 show excludedportrange protocol=tcp
Protocol tcp Port Exclusion Ranges
Start Port End Port
---------- --------
1767 1866
1867 1966
1967 2066
2067 2166
2180 2279
2280 2379
2380 2479
2480 2579
2580 2679
2869 2869
3263 3362
3552 3651
5357 5357
6440 6539
10243 10243
12445 12445
25831 25930
28380 28380
28385 28385
35447 35447
50000 50059 *
* - Administered port exclusions.
i tried a netcfg -d
then rebooted and then reserved the port 6443 as suggested above with netsh int ipv4 add excludedportrange protocol=tcp startport=6443 numberofports=1
this time kubernetes installed ok took a while mind you with lots of [15:09:47.985][ApiProxy ][Info ] time="2019-10-21T15:09:47-07:00" msg="1/3 system pods running, found labels k8s-app=kube-dns but still waiting for labels component=kube-controller-manager, component=kube-apiserver..."
errors.
For me this resolved it after updating latest stable version:
For me this resolved it after updating latest stable version:
- Quit docker desktop
- Delete C:\ProgramData\DockerDesktop
- Start up docker desktop
- Wait a few minutes before k8s light turns green
Really nice. It worked for me. Thanks.
For me this resolved it after updating latest stable version:
- Quit docker desktop
- Delete C:\ProgramData\DockerDesktop
- Start up docker desktop
- Wait a few minutes before k8s light turns green
It worked for me also. Thanks
This procedure also worked for me, but I had to go back and rename my .kube folder, restart the Kubernetes cluster, patiently wait several minutes or so for the lamp to turn Green again.
Then: kubectl get all responded without timing out.
I haven't used kubernetes in quite a while and suspect the settings in .kube needed to be reset.
I tried all methods in this post, it does not work.
And I also tried to install it from scratch. Removed ~/AppData/{Local, roaming}/Docker*, ~/.kube, C;/programData/DockerDesktop, and reinstall it, no help.
Crazy using Docker under Windows.
The same problem 1729B960-06A8-4AA2-AEB5-73D5918783AA/20200313150235
Problem solved.
2.2.0.4 stable
im getting the problem again after i installed docker for windows on my laptop, but this time my previous fix doesnt solve it, im getting the error 8DDC1EE0-866F-4E8C-9733-B508A2D540DF/20200329170330
[17:06:49.561][SettingsController][Error ] The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Docker.ApiServices.Services.SettingsServices.KubernetesSettingsRepository.Set(KubernetesSettingsResource settings)
at Docker.ApiServices.Services.SettingsService.<SetInternalAsync>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Docker.ApiServices.Services.SettingsService.<SetAsync>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Docker.HttpApi.Controllers.SettingsController.<Post>d__4.MoveNext()
[17:06:49.561][SettingsController][Error ] The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Docker.ApiServices.Services.SettingsServices.KubernetesSettingsRepository.Set(KubernetesSettingsResource settings)
at Docker.ApiServices.Services.SettingsService.<SetInternalAsync>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Docker.ApiServices.Services.SettingsService.<SetAsync>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Docker.HttpApi.Controllers.SettingsController.<Post>d__4.MoveNext()
This steps resolved the issue for me. (was using Docker Desktop 2.2.0.5)
I tried the solutions in this thread but Kubernetes never start. The client should give the opportunity to cancel the neverending start
Also, while the docker client is starting, the machine cannot be reached via rdp.
On three different Win10 I uninstalled docker desktop, deleted the folder as for this thread and reinstalled the newest stable release. In all the cases Kubernetes never worked. It just shows "Kubernetes starting" forever. Frustrating.
Same here. Also tried to delete a few more folders like suggested in issue #5442 Even with edge version (2.3.1.0) still stuck at starting. Really annoying.
Setup:
Gave up k8s in Docker for Desktop, and switched to minikube directly.
I got the same issue and tried everything that are mentioned here but in vain. The only way that works is rolling back to version 2.1.0.5. I hope this work for you.
Check your hosts file
C:\Windows\system32\drivers\etc\hosts
Maybe your antivir blocked adding entries. You need
127.0.0.1 kubernetes.docker.internal
to start k8.
Check your logs at:
C:\Users\
I got an inifite loop message with host not found for kubernetes.docker.internal
At least on my machine, docker desktop does not log any errors - Kubernetes just does not start. That's what makes it so hard to find the error in the first place... ;)
Try deleting the PKI folder from C:\ProgramData\DockerDesktop
3769
Don't know why this is happening but actually works. Thanks!
Don't know why this is happening but actually works. Thanks!
Not for me. The diagnostic log of Docker destkop is definitely insufficient and the whole experience (in case of problems) very bad.
Kubernetes can take time to start if you don't have a good machine took around 1-3 minutes
After updating to docker desktop v2.3.0.4 from prev version on windows 10 pro 64bit, i too faced the issue. After enabling kubernetes, it appeared stuck on starting.
But it was not stuck and it came back after a considerable delay.
It worked for me even though i am behind corporate proxy and using cisco anyconnect vpn too. So the firewall or corporate security software or vpn is not blocking the default settings of docker & kubernetes included in docker for desktop. You need to have patience, enabling kubernetes for first time result in download and configuration of bunch of docker images. After images are downloaded the single master cluster is created, then it works.
Keep on watching the following log files to known the progress. For me it took lot of time for kubernetes to come up. %USERPROFILE%\AppData\Local\Docker\log.txt %USERPROFILE%\AppData\Roaming\Docker\log\vm\kubelet.log %USERPROFILE%\AppData\Roaming\Docker\log\vm\dockerd.log
As @aaraodeo suggested, look at log files for issues. For me it was to do with insufficient accessibility to certain folders which I found via %USERPROFILE%\AppData\Local\Docker\log.txt
It is working again now.
Issues go stale after 90 days of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
comment.
Stale issues will be closed after an additional 30 days 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
Docker desktop Version 3.0.0 (50684), Kubernetes 1.19.3 Still the Kunernetes cluster does not start (I reset the cluster entirely). It persists on a neverending "Starting ..." message
The logs show very stupid actions:
denied.. Retrying in 1s"
[13:28:58.516][ApiProxy ][Warning] msg="Error while setting up kubernetes: cannot update the host kube config: mkdir C:\\Users\\raffaeler.kube: Access is denied.. Retrying in 1s"
[13:28:58.780][ApiProxy ][Info ] msg="Cluster config received"
[13:28:58.781][ApiProxy ][Info ] W1214 13:28:58.781824 17048 loader.go:223] Config not found: C:\Users\raffaeler.kube\config
[13:28:59.049][ApiProxy ][Info ] msg="Cluster config received"
[13:28:59.049][ApiProxy ][Info ] W1214 13:28:59.049884 17048 loader.go:223] Config not found: C:\Users\raffaeler.kube\config
[13:28:59.794][ApiProxy ][Warning] msg="Error while setting up kubernetes: cannot update the host kube config: mkdir C:\\Users\\raffaeler.kube: Access is denied.. Retrying in 1s"
The folder should be instead C:\Users\raffaeler\.kube\config
... a missing backslash. So sad seeing that testing is so poor.
It will take months before seeing anyone from the team answering to this.
I give up
In the setting touch reset kubernetes cluster and restart docker. Enable kubernetes and wait, don 't select the other options.
@bielolopez I did several times and it does NOT work.
Also, it is not possible disable kubernetes from the UI anymore (UI bug).
I made it start by creating the wrong folder raffaeler.kube
and giving the full permissions.
The bad bug is how docker client is building the path, forgetting the backslash between the user home folder and the .kube relative folder.
Since the docker client is built using .NET, the path should always be built using Path.Combine
and never using string concatenation.
Then you will have to uninstall docker and delete .kube and .docker in the / user / raffaeler / document folder and docker and docker desktop in ProgramData, as well as in C: \ Users \ raffaeler \ AppData \ Local and C: \ Users \ raffaeler \ AppData \ Roaming And start installing everything back by default. Then only activate kuebernetes not the other options.
I think it should work.
Thank you @bielolopez but I will stay with my fake folder for the moment in order to avoid losing the current containers
BTW I don't see how a path concatenation could be resolved by deleting all those folders. Also, in addition to the issue I wrote before, I understand there are other problems in the Docker Windows app:
I am very worried about the low consideration that Docker has for the users who encountered this issue that is open since April 23, 2019.
You're welcome raffaeler,
look at this to see if you can solve it, I know that at the beginning I had a problem with kubernetes and I did not raise them with w2l but with hyper-v. Look at this link: https://learnk8s.io/installing-docker-kubernetes-windows
Thank you @bielolopez As I wrote, after creating the bad folder, it all works. BTW I am already running on WSL2. The problem is just a bug in Docker client. Will keep your link for future problems, thanks
I upgraded docker desktop version to the latest today (12/21/2020). Docker started but the kubernetes is showing its starting but its not. The logs are as below. Have tried almost all the solution in the thread but none seem to solve this issue
Version: 3.0.0 (50684) Sha1: b7108cdfefccc66549bd6b9ee3373e8dd40b8ac1 Started on: 2020/12/21 13:38:23.980 Resources: C:\Program Files\Docker\Docker\resources OS: Windows 10 Enterprise Edition: Enterprise Id: 1809 Build: 17763 BuildLabName: 17763.1.amd64fre.rs5_release.180914-1434
File: C:\Users\shsslk-adm\AppData\Local\Docker\log.txt CommandLine: "C:\Program Files\Docker\Docker\Docker Desktop.exe" You can send feedback, including this log file, at https://github.com/docker/for-win/issues [13:38:24.060][GUI ][Info ] Starting... [13:38:24.112][ComponentVersions ][Info ] Edition community [13:38:24.116][ComponentVersions ][Info ] Edition community [13:38:24.155][LoggingMessageHandler][Info ] [475a9fb2] GET http://localhost/ping [13:38:24.176][GoBackendClient ][Warning] HttpOS Client: connection timed out. [13:38:24.250][AppMigrator ][Info ] Current version: 6. Latest version: 6 [13:38:24.269][GoBackendProcess ][Info ] Starting C:\Program Files\Docker\Docker\resources\com.docker.backend.exe -addr unix:.\pipe\dockerBackendApiServer [13:38:24.275][GoBackendProcess ][Info ] Started [13:38:24.275][TrackingSettings ][Info ] Crash report and usage statistics are enabled [13:38:24.278][SegmentApi ][Info ] Usage statistic: Identify [13:38:24.344][GoBackendProcess ][Info ] msg="starting backend server" [13:38:24.344][GoBackendProcess ][Info ] msg="started port-forwarding control server on \.\pipe\dockerVpnKitControl" [13:38:24.344][GoBackendProcess ][Info ] msg="listening on unix:\.\pipe\dockerVpnkitData for data connection" [13:38:24.344][GoBackendProcess ][Error ] msg="unable to query WslEngineEnabled state after 0s. Last error was Get "http://unix/settings\": open \.\pipe\dockerWebApiServer: The system cannot find the file specified." [13:38:24.344][GoBackendProcess ][Info ] msg="adding routes for /docker.tar" [13:38:24.344][GoBackendProcess ][Info ] msg="adding routes for /docker.tar" [13:38:24.344][GoBackendProcess ][Info ] msg="adding routes for /kube-images.tar" [13:38:24.344][GoBackendProcess ][Info ] msg="adding routes for /kube-images.tar" [13:38:24.344][GoBackendProcess ][Info ] msg="adding routes for /services.tar -> C:\Program Files\Docker\Docker\resources\services.tar" [13:38:24.344][GoBackendProcess ][Info ] msg="adding routes for /services.tar -> C:\Program Files\Docker\Docker\resources\services.tar" [13:38:24.344][GoBackendProcess ][Info ] ⇨ http server started on .\pipe\dockerVpnKitControl [13:38:24.344][GoBackendProcess ][Info ] ⇨ http server started on .\pipe\docker_cli [13:38:24.344][GoBackendProcess ][Info ] ⇨ http server started on .\pipe\dockerBackendApiServerForGuest [13:38:24.344][GoBackendProcess ][Info ] ⇨ http server started on .\pipe\dockerBackendApiServer [13:38:24.482][LoggingMessageHandler][Info ] [291c79a7] GET http://localhost/ping [13:38:24.502][GoBackendProcess ][Info ] msg="external: GET /ping 200 "DockerDesktopCSharp" """ [13:38:24.519][LoggingMessageHandler][Info ] [291c79a7] GET http://localhost/ping -> 200 OK (took 36ms) [13:38:24.527][GoBackendClient ][Info ] backend API ready [13:38:24.527][LoggingMessageHandler][Info ] [001fef4f] GET http://localhost/features [13:38:24.528][GoBackendProcess ][Info ] msg="external: GET /features 200 "DockerDesktopCSharp" """ [13:38:24.532][LoggingMessageHandler][Info ] [001fef4f] GET http://localhost/features -> 200 OK (took 4ms) [13:38:24.612][SegmentApi ][Info ] Usage statistic: appLaunched [13:38:24.618][SegmentApi ][Info ] Usage statistic: heartbeat [13:38:24.880][LoggingMessageHandler][Info ] [72a6f331] GET http://backend/version [13:38:24.886][LoggingMessageHandler][Info ] [72a6f331] GET http://backend/version -> 200 OK (took 5ms) [13:38:24.897][LoggingMessageHandler][Info ] [ff6aade1] GET http://backend/hyperv/vhdx-size?path=C:%5CProgramData%5CDockerDesktop%5Cvm-data%5CDockerDesktop.vhdx [13:38:24.903][LoggingMessageHandler][Info ] [ff6aade1] GET http://backend/hyperv/vhdx-size?path=C:%5CProgramData%5CDockerDesktop%5Cvm-data%5CDockerDesktop.vhdx -> 200 OK (took 5ms) [13:38:24.909][LoggingMessageHandler][Info ] [193b99e2] POST http://backend/migrate/app [13:38:24.913][LoggingMessageHandler][Info ] [193b99e2] POST http://backend/migrate/app -> 204 NoContent (took 4ms) [13:38:25.691][LoggingMessageHandler][Info ] [d9291e0f] GET http://unix/settings [13:38:25.777][LoggingMessageHandler][Info ] [d9291e0f] GET http://unix/settings -> 200 OK (took 86ms) [13:38:25.840][GoBackendProcess ][Info ] msg="NewSharer: grpcfuse feature enabled" [13:38:25.841][GoBackendProcess ][Info ] msg="enabling filesystem caching" [13:38:25.841][GoBackendProcess ][Info ] msg="filesystem exports are: (2)" [13:38:25.841][GoBackendProcess ][Info ] msg="volume control server listening on \.\pipe\dockerVolume" [13:38:25.843][GoBackendProcess ][Info ] msg="filesystem server listening on 00000000-0000-0000-0000-000000000000:00001003-facb-11e6-bd58-64006a7986d3" [13:38:25.843][GoBackendProcess ][Info ] msg="file ownership will be determined by the calling user ("fake owner" mode)" [13:38:25.843][GoBackendProcess ][Info ] msg="using mfsymlinks" [13:38:26.751][Updater ][Info ] Launcher process exited with 4294967295 [13:38:26.755][Engines ][Debug ] Starting [13:38:26.760][LoggingMessageHandler][Info ] [3000cc64] POST http://backend/versionpack/enable [13:38:26.780][LoggingMessageHandler][Info ] [3000cc64] POST http://backend/versionpack/enable -> 204 NoContent (took 20ms) [13:38:26.783][LoggingMessageHandler][Info ] [b582249b] POST http://backend/cloudcli/toggle [13:38:26.793][LoggingMessageHandler][Info ] [b582249b] POST http://backend/cloudcli/toggle -> 204 NoContent (took 9ms) [13:38:26.800][EngineStateMachine][Debug ] sending state Docker.ApiServices.StateMachines.StartTransition to state change sink [13:38:26.800][EngineStateMachine][Debug ] State Docker.ApiServices.StateMachines.StartTransition sent to state change sink [13:38:26.803][EngineStateListener][Debug ] received state Docker.ApiServices.StateMachines.StartTransition from LinuxHyperV [13:38:26.807][EngineStateNotificationRecorder][Debug ] Registered state {"State":"starting","Mode":"linux","date":1608538106} [13:38:26.808][SystrayNotifications][Info ] Docker is starting [13:38:26.813][LoggingMessageHandler][Info ] [2aa8e47a] POST http://backend/dns/refresh-hosts [13:38:26.867][LoggingMessageHandler][Info ] [2aa8e47a] POST http://backend/dns/refresh-hosts -> 204 NoContent (took 54ms) [13:38:26.869][LinuxHyperVEngine ][Info ] Stopping watching for host power events [13:38:26.873][LoggingMessageHandler][Info ] [76938b92] POST http://backend/hyperv/stop [13:38:27.248][LoggingMessageHandler][Info ] [76938b92] POST http://backend/hyperv/stop -> 204 NoContent (took 374ms) [13:38:27.268][VpnKitBridge ][Info ] Starting C:\Program Files\Docker\Docker\resources\vpnkit-bridge.exe --addr listen://00000000-0000-0000-0000-000000000000/000007CF-FACB-11E6-BD58-64006A7986D3 host [13:38:27.276][VpnKitBridge ][Info ] Started [13:38:27.277][CABundleProvider ][Info ] Generating CA Cert Bundle [13:38:27.300][CABundleProvider ][Info ] CA Cert Bundle Generated [13:38:27.307][LoggingMessageHandler][Info ] [3d459b87] POST http://backend/hyperv/create [13:38:27.333][VpnKitBridge ][Info ] msg="listening on listen://00000000-0000-0000-0000-000000000000/000007CF-FACB-11E6-BD58-64006A7986D3..." [13:38:27.334][VpnKitBridge ][Info ] msg="waiting for connection on listen://00000000-0000-0000-0000-000000000000/000007CF-FACB-11E6-BD58-64006A7986D3..." [13:38:27.701][DockerHub ][Info ] Login successfull [13:38:27.704][LoggingMessageHandler][Info ] [50f71fb7] POST http://localhost/hub-login [13:38:28.051][Updater ][Info ] Launcher process exited with 4294967295 [13:38:28.981][GoBackendProcess ][Info ] msg="user is part of free plan" [13:38:28.981][GoBackendProcess ][Info ] msg="entitlement: {PlanName:free Desktop:{Enabled:false}}" [13:38:28.981][GoBackendProcess ][Info ] msg="external: POST /hub-login 200 "DockerDesktopCSharp" """ [13:38:28.985][LoggingMessageHandler][Info ] [50f71fb7] POST http://localhost/hub-login -> 200 OK (took 1281ms) [13:38:30.094][LoggingMessageHandler][Info ] [3d459b87] POST http://backend/hyperv/create -> 204 NoContent (took 2788ms) [13:38:30.114][VpnKit ][Info ] Starting C:\Program Files\Docker\Docker\resources\vpnkit.exe --ethernet .\pipe\dockerVpnkit --hosts "" --http "C:\Users\shsslk-adm\AppData\Roaming\Docker\http_proxy.json" --gateway-forwards "C:\Users\shsslk-adm\AppData\Roaming\Docker\gateway_forwards.json" --diagnostics .\pipe\dockerVpnKitDiagnostics --host-names host.docker.internal,docker.for.win.host.internal,docker.for.win.localhost --gateway-names gateway.docker.internal,docker.for.win.gateway.internal,docker.for.win.http.internal --listen-backlog 32 --gateway-ip 192.168.65.1 --host-ip 192.168.65.2 --lowest-ip 192.168.65.3 --highest-ip 192.168.65.14 [13:38:30.121][VpnKit ][Info ] Started [13:38:30.123][DockerCliAPIServer][Info ] Starting C:\Program Files\Docker\Docker\resources\docker.exe serve --address npipe:////./pipe/dockerCliApi [13:38:30.129][DockerCliAPIServer][Info ] Started [13:38:30.135][LoggingMessageHandler][Info ] [34782236] POST http://backend/hyperv/start [13:38:30.173][VpnKit ][Info ] vpnkit.exe: Setting handler to ignore all SIGPIPE signals [13:38:30.173][VpnKit ][Info ] vpnkit.exe: Version is 218f01482560cba2fa863f9ad872ad51d1e717fc [13:38:30.173][VpnKit ][Info ] vpnkit.exe: System SOMAXCONN is 2147483647 [13:38:30.173][VpnKit ][Info ] vpnkit.exe: Will use a listen backlog of 32 [13:38:30.173][VpnKit ][Info ] vpnkit.exe: No periodic Gc.compact enabled [13:38:30.173][VpnKit ][Error ] vpnkit.exe: Starting to watch : EINVAL [13:38:30.173][VpnKit ][Error ] vpnkit.exe: Failed to watch hosts file : invalid argument [13:38:30.173][VpnKit ][Warning] vpnkit.exe: There is no database: using hardcoded network configuration values [13:38:30.173][VpnKit ][Info ] vpnkit.exe: DNS server configured with no builtin DNS names; everything will be forwarded [13:38:30.173][VpnKit ][Info ] vpnkit.exe: 2 upstream DNS servers are configured [13:38:30.173][VpnKit ][Error ] vpnkit.exe: While watching /etc/resolv.conf: ENOENT [13:38:30.173][VpnKit ][Info ] vpnkit.exe: Disabling transparent HTTP redirection [13:38:30.173][VpnKit ][Info ] vpnkit.exe: Updating resolvers to use host resolver [13:38:30.173][VpnKit ][Info ] vpnkit.exe: Secure random number generator is available [13:38:30.173][VpnKit ][Info ] vpnkit.exe: Add(3): DNS configuration changed to: use host resolver [13:38:30.181][VpnKit ][Info ] vpnkit.exe: DNS server configured with builtin DNS names [ gateway.docker.internal -> 192.168.65.1, docker.for.win.gateway.internal -> 192.168.65.1, docker.for.win.http.internal -> 192.168.65.1, host.docker.internal -> 192.168.65.2, docker.for.win.host.internal -> 192.168.65.2, docker.for.win.localhost -> 192.168.65.2, vm.internal -> 192.168.65.3 ] [13:38:30.181][VpnKit ][Info ] vpnkit.exe: Will use the host's DNS resolver [13:38:30.181][VpnKit ][Info ] vpnkit.exe: Transparent HTTP redirection configuration file C:\Users\shsslk-adm\AppData\Roaming\Docker\http_proxy.json has changed [13:38:30.181][VpnKit ][Info ] vpnkit.exe: Reading transparent HTTP redirection from C:\Users\shsslk-adm\AppData\Roaming\Docker\http_proxy.json [13:38:30.181][VpnKit ][Info ] vpnkit.exe: Watching transparent HTTP redirection configuration file C:\Users\shsslk-adm\AppData\Roaming\Docker\http_proxy.json for changes [13:38:30.181][VpnKit ][Info ] vpnkit.exe: New Gateway forward configuration: [] [13:38:30.182][VpnKit ][Info ] vpnkit.exe: Gateway forwards file C:\Users\shsslk-adm\AppData\Roaming\Docker\gateway_forwards.json has changed [13:38:30.182][VpnKit ][Info ] vpnkit.exe: Reading gateway forwards file from C:\Users\shsslk-adm\AppData\Roaming\Docker\gateway_forwards.json [13:38:30.182][VpnKit ][Info ] vpnkit.exe: Watching gateway forwards file C:\Users\shsslk-adm\AppData\Roaming\Docker\gateway_forwards.json for changes [13:38:30.182][VpnKit ][Info ] vpnkit.exe: Configuration server_macaddr = f6:16:36:bc:f9:c6; max_connection = None; dns_path = None; dns = ; resolver = Host; domain = None; allowed_bind_addresses = 0.0.0.0; gateway_ip = 192.168.65.1; host_ip = 192.168.65.2; lowest_ip = 192.168.65.3; highest_ip = 192.168.65.14; dhcp_json_path = None; dhcp_configuration = None; mtu = 1500; http_intercept = None; http_intercept_path = C:\Users\shsslk-adm\AppData\Roaming\Docker\http_proxy.json; port_max_idle_time = 300; host_names = host.docker.internal, docker.for.win.host.internal, docker.for.win.localhost; gateway_names = gateway.docker.internal, docker.for.win.gateway.internal, docker.for.win.http.internal; vm_names = vm.internal; udpv4_forwards = []; tcpv4_forwards = []; gateway_forwards_path = C:\Users\shsslk-adm\AppData\Roaming\Docker\gateway_forwards.json; pcap_snaplen = 128 [13:38:30.182][VpnKit ][Info ] vpnkit.exe: New Gateway forward configuration: [{"protocol":"udp","external_port":53,"internal_ip":"127.0.0.1","internal_port":61722},{"protocol":"tcp","external_port":53,"internal_ip":"127.0.0.1","internal_port":1178},{"protocol":"udp","external_port":123,"internal_ip":"127.0.0.1","internal_port":61723}] [13:38:30.182][VpnKit ][Info ] vpnkit.exe: Updating transparent HTTP redirection: { [13:38:30.182][VpnKit ][Info ] "exclude": "", [13:38:30.182][VpnKit ][Info ] "transparent_http_ports": [ [13:38:30.182][VpnKit ][Info ] 80 [13:38:30.182][VpnKit ][Info ] ], [13:38:30.182][VpnKit ][Info ] "transparent_https_ports": [ [13:38:30.182][VpnKit ][Info ] 443 [13:38:30.182][VpnKit ][Info ] ] [13:38:30.182][VpnKit ][Info ] } [13:38:30.263][DockerCliAPIServer][Info ] msg="serving daemon API" address="npipe:////./pipe/dockerCliApi" [13:38:31.484][LoggingMessageHandler][Info ] [34782236] POST http://backend/hyperv/start -> 200 OK (took 1349ms) [13:38:31.490][ApiProxy ][Info ] Starting C:\Program Files\Docker\Docker\resources\com.docker.proxy.exe -kubernetesEnabled -dockerExe "C:\ProgramData\DockerDesktop\version-bin\docker.exe" -host-names host.docker.internal,docker.for.win.host.internal,docker.for.win.localhost -gateway-names gateway.docker.internal,docker.for.win.gateway.internal,docker.for.win.http.internal -vm-names vm.docker.internal,docker-for-desktop,docker-desktop,kubernetes.docker.internal -host-ip 192.168.65.2 -gateway-ip 192.168.65.1 -vm-ip 192.168.65.3 -pki "C:\Users\shsslk-adm\AppData\Local\Docker\pki" -inject-hosts=True [13:38:31.497][ApiProxy ][Info ] Started [13:38:31.500][LifecycleClient ][Info ] Waiting for lifecycle-server for up to 00:10:00 [13:38:31.502][LoggingMessageHandler][Info ] [bae6ec33] GET http://localhost/ping [13:38:33.122][LifecycleClient ][Warning] HttpOS Client: connection timed out. [13:38:33.127][LoggingMessageHandler][Info ] [29ebbb9a] GET http://unix/versions [13:38:33.133][LoggingMessageHandler][Info ] [29ebbb9a] GET http://unix/versions -> 200 OK (took 5ms) [13:38:33.138][GoBackendProcess ][Info ] msg="external: GET /ping 200 "DockerDesktopGo" """ [13:38:33.138][ApiProxy ][Info ] msg="🍀 socket server listening : \.\pipe\dockerGuiToDriver" [13:38:33.138][GoBackendProcess ][Info ] msg="external: GET /features 200 "DockerDesktopGo" """ [13:38:33.143][LoggingMessageHandler][Info ] [e57764bd] GET http://unix/settings [13:38:33.146][LoggingMessageHandler][Info ] [e57764bd] GET http://unix/settings -> 200 OK (took 2ms) [13:38:33.148][ApiProxy ][Info ] msg="NewSharer: grpcfuse feature enabled" [13:38:33.152][ApiProxy ][Info ] time="2020-12-21T13:38:33+05:30" level=info msg=setupKubernetes [13:38:33.152][ApiProxy ][Info ] time="2020-12-21T13:38:33+05:30" level=info msg=waitForDockerUp [13:38:33.152][ApiProxy ][Info ] msg="🍀 socket server starting : \.\pipe\dockerGuiToDriver" [13:38:33.152][ApiProxy ][Info ] msg="Static DNS lookup table: map[docker-desktop.:192.168.65.3 docker-for-desktop.:192.168.65.3 docker.for.win.gateway.internal.:192.168.65.1 docker.for.win.host.internal.:192.168.65.2 docker.for.win.http.internal.:192.168.65.1 docker.for.win.localhost.:192.168.65.2 gateway.docker.internal.:192.168.65.1 host.docker.internal.:192.168.65.2 kubernetes.docker.internal.:192.168.65.3 vm.docker.internal.:192.168.65.3]" [13:38:33.153][ApiProxy ][Info ] msg="DNS listening on UDP 127.0.0.1:62927 and TCP 127.0.0.1:3900" [13:38:33.153][ApiProxy ][Info ] msg="Starting local NTP server" [13:38:33.153][ApiProxy ][Info ] msg="Writing C:\Users\shsslk-adm\AppData\Roaming\Docker\gateway_forwards.json" [13:38:33.663][VpnKitBridge ][Info ] msg="connected!" [13:38:33.664][VpnKitBridge ][Info ] msg="Proxy mutagen: waiting for remote service to be available" [13:38:33.664][VpnKitBridge ][Info ] msg="Proxy debug-shell: waiting for remote service to be available" [13:38:33.664][VpnKitBridge ][Info ] msg="Proxy wsl2-bootstrap-expose-ports: waiting for remote service to be available" [13:38:33.664][VpnKitBridge ][Info ] msg="Proxy docker: waiting for remote service to be available" [13:38:33.664][VpnKitBridge ][Info ] msg="Proxy wsl2-cross-distro-service: waiting for remote service to be available" [13:38:33.664][VpnKitBridge ][Info ] msg="Proxy diagnosticd: waiting for remote service to be available" [13:38:33.664][VpnKitBridge ][Info ] msg="Proxy lifecycle-server: waiting for remote service to be available" [13:38:33.664][VpnKitBridge ][Info ] msg="Proxy filesystem-event: waiting for remote service to be available" [13:38:33.664][VpnKitBridge ][Info ] msg="Proxy filesystem-test: waiting for remote service to be available" [13:38:33.665][VpnKitBridge ][Info ] msg="Proxy log: waiting for remote service to be available" [13:38:33.665][VpnKit ][Error ] vpnkit.exe: Pipe.listen: caught (Failure "Failed to connect vmnet device") [13:38:33.665][GoBackendProcess ][Info ] msg="accepted data connection on unix:\.\pipe\dockerVpnkitData" [13:38:33.666][GoBackendProcess ][Error ] msg="error accepting multiplexer data connection: The pipe is being closed." [13:38:33.666][GoBackendProcess ][Info ] msg="listening on unix:\.\pipe\dockerVpnkitData for data connection" [13:38:33.666][VpnKitBridge ][Info ] msg="cannot find service ssh-auth" [13:38:33.667][VpnKitBridge ][Info ] msg="received ack for service log, publishing locally" [13:38:34.132][LoggingMessageHandler][Info ] [d7e59b75] GET http://localhost/ping [13:38:35.126][LifecycleClient ][Warning] HttpOS Client: connection timed out. [13:38:35.173][VpnKit ][Info ] vpnkit.exe: Gateway forwards file C:\Users\shsslk-adm\AppData\Roaming\Docker\gateway_forwards.json has changed [13:38:35.173][VpnKit ][Info ] vpnkit.exe: Reading gateway forwards file from C:\Users\shsslk-adm\AppData\Roaming\Docker\gateway_forwards.json [13:38:35.180][VpnKit ][Info ] vpnkit.exe: New Gateway forward configuration: [{"protocol":"udp","external_port":53,"internal_ip":"127.0.0.1","internal_port":62927},{"protocol":"tcp","external_port":53,"internal_ip":"127.0.0.1","internal_port":3900},{"protocol":"udp","external_port":123,"internal_ip":"127.0.0.1","internal_port":62928}] [13:38:36.126][LoggingMessageHandler][Info ] [6569d19b] GET http://localhost/ping [13:38:36.617][GoBackendProcess ][Info ] msg="internal: GET /ping 200 "DockerDesktopGo" """ [13:38:37.126][LifecycleClient ][Warning] HttpOS Client: connection timed out. [13:38:37.145][LoggingMessageHandler][Info ] [50d95e8c] GET http://unix/settings [13:38:37.155][LoggingMessageHandler][Info ] [50d95e8c] GET http://unix/settings -> 200 OK (took 9ms) [13:38:37.164][LoggingMessageHandler][Info ] [9e1bfe73] GET http://unix/version-packs [13:38:37.166][LoggingMessageHandler][Info ] [9e1bfe73] GET http://unix/version-packs -> 200 OK (took 2ms) [13:38:37.281][GoBackendProcess ][Info ] [certs] Generating "etcd/ca" certificate and key [13:38:37.386][GoBackendProcess ][Info ] [certs] Generating "etcd/server" certificate and key [13:38:37.388][GoBackendProcess ][Info ] [certs] etcd/server serving cert is signed for DNS names [docker-for-desktop localhost] and IPs [0.0.0.0 127.0.0.1 ::1] [13:38:37.456][GoBackendProcess ][Info ] [certs] Generating "etcd/peer" certificate and key [13:38:37.457][GoBackendProcess ][Info ] [certs] etcd/peer serving cert is signed for DNS names [docker-for-desktop localhost] and IPs [0.0.0.0 127.0.0.1 ::1] [13:38:37.623][GoBackendProcess ][Info ] [certs] Generating "etcd/healthcheck-client" certificate and key [13:38:37.692][GoBackendProcess ][Info ] [certs] Generating "apiserver-etcd-client" certificate and key [13:38:37.829][GoBackendProcess ][Info ] [certs] Generating "front-proxy-ca" certificate and key [13:38:38.127][LoggingMessageHandler][Info ] [33153bae] GET http://localhost/ping [13:38:38.158][GoBackendProcess ][Info ] [certs] Generating "front-proxy-client" certificate and key [13:38:38.231][GoBackendProcess ][Info ] [certs] Generating "ca" certificate and key [13:38:38.438][GoBackendProcess ][Info ] [certs] Generating "apiserver-kubelet-client" certificate and key [13:38:38.693][GoBackendProcess ][Info ] [certs] Generating "apiserver" certificate and key [13:38:38.695][GoBackendProcess ][Info ] [certs] apiserver serving cert is signed for DNS names [docker-for-desktop kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local kubernetes.docker.internal vm.docker.internal localhost] and IPs [10.96.0.1 0.0.0.0 192.168.65.3 127.0.0.1] [13:38:38.695][GoBackendProcess ][Info ] [certs] Valid certificates and keys now exist in "C:\Users\shsslk-adm\AppData\Local\Docker\pki" [13:38:38.813][GoBackendProcess ][Info ] [certs] Generating "sa" key and public key [13:38:38.818][GoBackendProcess ][Info ] msg="internal: GET /vm/init 200 "DockerDesktopGo" """ [13:38:39.126][LifecycleClient ][Warning] HttpOS Client: connection timed out. [13:38:40.127][LoggingMessageHandler][Info ] [17d9ee27] GET http://localhost/ping [13:38:41.127][LifecycleClient ][Warning] HttpOS Client: connection timed out. [13:38:41.763][GoBackendProcess ][Info ] msg="internal: GET /ping 200 "Go-http-client/1.1" """ [13:38:41.764][GoBackendProcess ][Info ] msg="HEAD C:\Program Files\Docker\Docker\resources\services.tar" [13:38:41.805][GoBackendProcess ][Info ] msg="internal: HEAD /resource/services.tar 200 "Go-http-client/1.1" """ [13:38:41.806][GoBackendProcess ][Info ] msg="GET C:\Program Files\Docker\Docker\resources\services.tar" [13:38:42.142][LoggingMessageHandler][Info ] [f6dad5c3] GET http://localhost/ping [13:38:42.533][GoBackendProcess ][Info ] msg="internal: GET /resource/services.tar 200 "Go-http-client/1.1" """ [13:38:43.132][LoggingMessageHandler][Info ] [0f2a8c6b] GET http://unix/version-packs [13:38:43.133][LoggingMessageHandler][Info ] [0f2a8c6b] GET http://unix/version-packs -> 200 OK (took 0ms) [13:38:43.133][GoBackendProcess ][Info ] msg="using version pack: 'community'" [13:38:43.133][GoBackendProcess ][Info ] msg="HEAD C:\Program Files\Docker\Docker\resources\docker.tar" [13:38:43.133][GoBackendProcess ][Info ] msg="internal: HEAD /resource/docker.tar 200 "Go-http-client/1.1" """ [13:38:43.137][LoggingMessageHandler][Info ] [cdae7d97] GET http://unix/version-packs [13:38:43.138][LoggingMessageHandler][Info ] [cdae7d97] GET http://unix/version-packs -> 200 OK (took 0ms) [13:38:43.138][GoBackendProcess ][Info ] msg="using version pack: 'community'" [13:38:43.138][GoBackendProcess ][Info ] msg="GET C:\Program Files\Docker\Docker\resources\docker.tar" [13:38:43.141][LifecycleClient ][Warning] HttpOS Client: connection timed out. [13:38:44.142][LoggingMessageHandler][Info ] [1c81a167] GET http://localhost/ping [13:38:45.075][GoBackendProcess ][Info ] msg="internal: GET /resource/docker.tar 200 "Go-http-client/1.1" """ [13:38:45.084][LoggingMessageHandler][Info ] [d26acfda] GET http://unix/version-packs [13:38:45.084][LoggingMessageHandler][Info ] [d26acfda] GET http://unix/version-packs -> 200 OK (took 0ms) [13:38:45.084][GoBackendProcess ][Info ] msg="using version pack: 'community'" [13:38:45.085][GoBackendProcess ][Info ] msg="internal: HEAD /resource/kube-images.tar 404 "Go-http-client/1.1" """ [13:38:45.141][LifecycleClient ][Warning] HttpOS Client: connection timed out. [13:38:45.891][GoBackendProcess ][Info ] msg="internal: GET /ping 200 "Go-http-client/1.1" """ [13:38:45.900][GoBackendProcess ][Info ] msg="filesystem watcher supports cache invalidation: setting long FUSE timeouts" [13:38:45.906][GoBackendProcess ][Info ] msg="internal: POST /events 200 "DockerDesktopGo" """ [13:38:46.141][LoggingMessageHandler][Info ] [06bdeea9] GET http://localhost/ping [13:38:46.194][VpnKitBridge ][Info ] msg="received ack for service debug-shell, publishing locally" [13:38:46.194][VpnKitBridge ][Info ] msg="received ack for service mutagen, publishing locally" [13:38:46.195][VpnKitBridge ][Info ] msg="received ack for service filesystem-event, publishing locally" [13:38:46.195][VpnKitBridge ][Info ] msg="received ack for service lifecycle-server, publishing locally" [13:38:46.196][VpnKitBridge ][Info ] msg="received ack for service diagnosticd, publishing locally" [13:38:46.197][VpnKitBridge ][Info ] msg="received ack for service filesystem-test, publishing locally" [13:38:46.203][LoggingMessageHandler][Info ] [06bdeea9] GET http://localhost/ping -> 200 OK (took 62ms) [13:38:46.213][LifecycleClient ][Info ] Lifecycle-server is responding. [13:38:46.213][LinuxHyperVEngine ][Info ] Starting Docker service... [13:38:46.218][LoggingMessageHandler][Info ] [ca6bb348] GET http://localhost/docker/start [13:38:46.224][LoggingMessageHandler][Info ] [dde48ba2] GET http://unix/settings/linux-daemon [13:38:46.226][LoggingMessageHandler][Info ] [dde48ba2] GET http://unix/settings/linux-daemon -> 200 OK (took 1ms) [13:38:46.227][GoBackendProcess ][Info ] msg="internal: GET /engine/daemon.json 200 "Go-http-client/1.1" """ [13:38:46.327][GoBackendProcess ][Info ] msg="accepted data connection on unix:\.\pipe\dockerVpnkitData" [13:38:46.327][GoBackendProcess ][Info ] msg="established connection to vpnkit-forwarder" [13:38:46.413][VpnKit ][Info ] vpnkit.exe: Vmnet.Server.negotiate: received { magic = VMN3T; version = 22; commit = } [13:38:46.413][VpnKit ][Info ] vpnkit.exe: Generated UUID on behalf of client: d04f23d1-4292-4d78-a42b-1bbbb294641b [13:38:46.413][VpnKit ][Info ] vpnkit.exe: Vmnet.Server.negotiate: received Ethernet d04f23d1-4292-4d78-a42b-1bbbb294641b [13:38:46.413][VpnKit ][Info ] vpnkit.exe: Vmnet.Server.negotiate: sending { mtu = 1500; max_packet_size = 1550; client_macaddr = 02:50:00:00:00:01 } [13:38:46.413][VpnKit ][Info ] vpnkit.exe: Vmnet.Server.listen: rebinding the primary listen callback [13:38:46.413][VpnKit ][Info ] vpnkit.exe: Vmnet.Server.listen: starting event loop [13:38:46.413][VpnKit ][Info ] vpnkit.exe: Connected Ethernet interface f6:16:36:bc:f9:c6 [13:38:46.415][VpnKit ][Info ] vpnkit.exe: Client mac: 02:50:00:00:00:01 server mac: f6:16:36:bc:f9:c6 [13:38:46.415][VpnKit ][Info ] vpnkit.exe: TCP/IP ready [13:38:46.415][VpnKit ][Info ] vpnkit.exe: TCP/IP stack connected [13:38:46.415][VpnKit ][Info ] vpnkit.exe: Starting diagnostics server on: .\pipe\dockerVpnKitDiagnostics [13:38:47.864][VpnKit ][Info ] vpnkit.exe: Connected Ethernet interface f6:16:36:bc:f9:c6 [13:38:47.865][VpnKit ][Info ] vpnkit.exe: UDP interface connected on 192.168.65.1 [13:38:51.322][LoggingMessageHandler][Info ] [426c689b] GET http://unix/settings [13:38:51.325][LoggingMessageHandler][Info ] [426c689b] GET http://unix/settings -> 200 OK (took 2ms) [13:38:51.326][GoBackendProcess ][Info ] msg="internal: GET /vm/gatewayip 200 "DockerDesktopGo" """ [13:38:51.718][VpnKitBridge ][Info ] msg="received ack for service docker, publishing locally" [13:38:51.940][GoBackendProcess ][Info ] msg="sending to gui: docker: lifecycle-server sent docker state running (running)" [13:38:51.946][LoggingMessageHandler][Info ] [a34ca4ab] POST http://unix/docker [13:38:51.974][LoggingMessageHandler][Info ] [a34ca4ab] POST http://unix/docker -> 204 NoContent (took 28ms) [13:38:51.975][GoBackendProcess ][Info ] msg="internal: POST /events 200 "DockerDesktopGo" """ [13:38:51.982][LoggingMessageHandler][Info ] [ca6bb348] GET http://localhost/docker/start -> 200 OK (took 5764ms) [13:38:51.982][LinuxkitDaemonStartup][Info ] Received status DaemonStarted [13:38:51.988][ApiProxy ][Info ] msg="proxy >> GET /containers/json\n" [13:38:51.990][ApiProxy ][Info ] msg="proxy << GET /containers/json (1.5137ms)\n" [13:38:51.997][DockerDaemonChecker][Info ] Docker daemon is running [13:38:51.997][LinuxHyperVEngine ][Info ] Watching for host power events [13:38:51.997][EngineStateMachine][Debug ] sending state Docker.ApiServices.StateMachines.RunningState to state change sink [13:38:51.997][EngineStateMachine][Debug ] State Docker.ApiServices.StateMachines.RunningState sent to state change sink [13:38:51.997][EngineStateListener][Debug ] received state Docker.ApiServices.StateMachines.RunningState from LinuxHyperV [13:38:51.998][EngineStateNotificationRecorder][Debug ] Registered state {"State":"running","Mode":"linux","date":1608538131} [13:38:51.998][SegmentApi ][Info ] Usage statistic: appRunning [13:38:51.998][SystrayNotifications][Info ] Docker Desktop is running [13:38:52.001][Engines ][Debug ] Start took 00:00:25.2460506 [13:38:52.033][SegmentApi ][Info ] Usage statistic: eventBackendStarted [13:38:52.165][VpnKit ][Info ] vpnkit.exe: Connected Ethernet interface f6:16:36:bc:f9:c6 [13:38:52.166][VpnKit ][Info ] vpnkit.exe: UDP interface connected on 18.232.227.119 [13:38:52.167][ApiProxy ][Info ] msg="Docker is responding" [13:38:52.167][ApiProxy ][Info ] msg="starting kubernetes cluster" [13:38:52.167][GoBackendProcess ][Info ] msg="sending to gui: kubernetes: starting kubernetes cluster (starting)" [13:38:52.174][LoggingMessageHandler][Info ] [036cc3ea] POST http://unix/kubernetes [13:38:52.178][LoggingMessageHandler][Info ] [036cc3ea] POST http://unix/kubernetes -> 200 OK (took 4ms) [13:38:52.178][GoBackendProcess ][Info ] msg="external: POST /events 200 "DockerDesktopGo" """ [13:38:52.305][ApiProxy ][Info ] msg="Cluster config received" [13:38:52.313][GoBackendProcess ][Info ] msg="external: GET /forwards/list 200 "Go-http-client/1.1" """ [13:38:52.314][GoBackendProcess ][Info ] msg="adding tcp forward from 127.0.0.1:6443 to 127.0.0.1:6443" [13:38:52.314][GoBackendProcess ][Error ] msg="wsl expose error:Post "http://unix/forwards/expose/port\": open \.\pipe\dockerWsl2BootstrapExposePorts: The system cannot find the file specified." [13:38:52.314][GoBackendProcess ][Info ] msg="external: POST /forwards/expose/port 200 "Go-http-client/1.1" """ [13:38:52.315][ApiProxy ][Info ] msg="waiting for kubelet to connect to apiserver, checking lease" [13:38:52.315][GoBackendProcess ][Info ] msg="external: POST /events 200 "DockerDesktopGo" """ [13:38:53.447][VpnKit ][Info ] vpnkit.exe: Connected Ethernet interface f6:16:36:bc:f9:c6 [13:38:53.447][VpnKit ][Info ] vpnkit.exe: UDP interface connected on 52.4.20.24 [13:38:58.755][VpnKit ][Info ] vpnkit.exe: Connected Ethernet interface f6:16:36:bc:f9:c6 [13:38:58.756][VpnKit ][Info ] vpnkit.exe: UDP interface connected on 104.18.122.25 [13:39:02.396][ApiProxy ][Info ] msg="cannot get lease for master node: an error on the server ("") has prevented the request from succeeding (get leases.coordination.k8s.io docker-desktop)" [13:39:02.396][GoBackendProcess ][Info ] msg="external: POST /events 200 "DockerDesktopGo" """ [13:39:12.363][ApiProxy ][Info ] msg="cannot get lease for master node: an error on the server ("") has prevented the request from succeeding (get leases.coordination.k8s.io docker-desktop)" [13:39:12.364][GoBackendProcess ][Info ] msg="external: POST /events 200 "DockerDesktopGo" """ [13:39:22.353][ApiProxy ][Info ] msg="cannot get lease for master node: an error on the server ("") has prevented the request from succeeding (get leases.coordination.k8s.io docker-desktop)" [13:39:22.353][GoBackendProcess ][Info ] msg="external: POST /events 200 "DockerDesktopGo" """ [13:39:32.377][ApiProxy ][Info ] msg="cannot get lease for master node: an error on the server ("") has prevented the request from succeeding (get leases.coordination.k8s.io docker-desktop)" [13:39:32.377][GoBackendProcess ][Info ] msg="external: POST /events 200 "DockerDesktopGo" """ [13:39:42.368][ApiProxy ][Info ] msg="cannot get lease for master node: an error on the server ("") has prevented the request from succeeding (get leases.coordination.k8s.io docker-desktop)" [13:39:42.369][GoBackendProcess ][Info ] msg="external: POST /events 200 "DockerDesktopGo" """ [13:39:52.365][ApiProxy ][Info ] msg="cannot get lease for master node: an error on the server ("") has prevented the request from succeeding (get leases.coordination.k8s.io docker-desktop)" [13:39:52.366][GoBackendProcess ][Info ] msg="external: POST /events 200 "DockerDesktopGo" """ [13:40:02.374][ApiProxy ][Info ] msg="cannot get lease for master node: an error on the server ("") has prevented the request from succeeding (get leases.coordination.k8s.io docker-desktop)" [13:40:02.375][GoBackendProcess ][Info ] msg="external: POST /events 200 "DockerDesktopGo" """ [13:40:12.363][ApiProxy ][Info ] msg="cannot get lease for master node: an error on the server ("") has prevented the request from succeeding (get leases.coordination.k8s.io docker-desktop)" [13:40:12.364][GoBackendProcess ][Info ] msg="external: POST /events 200 "DockerDesktopGo" """ [13:40:22.364][ApiProxy ][Info ] msg="cannot get lease for master node: an error on the server ("") has prevented the request from succeeding (get leases.coordination.k8s.io docker-desktop)" [13:40:22.365][GoBackendProcess ][Info ] msg="external: POST /events 200 "DockerDesktopGo" """ [13:40:32.381][ApiProxy ][Info ] msg="cannot get lease for master node: an error on the server ("") has prevented the request from succeeding (get leases.coordination.k8s.io docker-desktop)" [13:40:32.382][GoBackendProcess ][Info ] msg="external: POST /events 200 "DockerDesktopGo" """ [13:40:42.352][ApiProxy ][Info ] msg="cannot get lease for master node: an error on the server ("") has prevented the request from succeeding (get leases.coordination.k8s.io docker-desktop)" [13:40:42.352][GoBackendProcess ][Info ] msg="external: POST /events 200 "DockerDesktopGo" """ [13:40:52.381][ApiProxy ][Info ] msg="cannot get lease for master node: an error on the server ("") has prevented the request from succeeding (get leases.coordination.k8s.io docker-desktop)" [13:40:52.381][GoBackendProcess ][Info ] msg="external: POST /events 200 "DockerDesktopGo" """ [13:41:02.383][ApiProxy ][Info ] msg="cannot get lease for master node: an error on the server ("") has prevented the request from succeeding (get leases.coordination.k8s.io docker-desktop)" [13:41:02.384][GoBackendProcess ][Info ] msg="external: POST /events 200 "DockerDesktopGo" """ [13:41:07.550][LoggingMessageHandler][Info ] [8d3f8dbd] POST http://localhost/notifications/subscriptions [13:41:07.558][LoggingMessageHandler][Info ] [429a4cd0] GET http://localhost/ping [13:41:07.617][LoggingMessageHandler][Info ] [429a4cd0] GET http://localhost/ping -> 200 OK (took 59ms) [13:41:07.618][LoggingMessageHandler][Info ] [8d3f8dbd] POST http://localhost/notifications/subscriptions -> 200 OK (took 67ms) [13:41:08.864][GoBackendProcess ][Info ] msg="external: GET /features 200 "axios/0.20.0" """ [13:41:08.879][LoggingMessageHandler][Info ] [857439cb] GET http://localhost/versions [13:41:08.883][LoggingMessageHandler][Info ] [d4f3effb] GET http://localhost/license/details [13:41:08.884][LoggingMessageHandler][Info ] [857439cb] GET http://localhost/versions -> 200 OK (took 5ms) [13:41:08.885][LoggingMessageHandler][Info ] [d4f3effb] GET http://localhost/license/details -> 200 OK (took 1ms) [13:41:08.886][LoggingMessageHandler][Info ] [b57ded1f] GET http://localhost/kubernetes [13:41:08.889][LoggingMessageHandler][Info ] [d944fc81] GET http://localhost/registry/user [13:41:08.889][LoggingMessageHandler][Info ] [b57ded1f] GET http://localhost/kubernetes -> 200 OK (took 2ms) [13:41:08.891][LoggingMessageHandler][Info ] [8f8d3e5f] GET http://localhost/docker [13:41:08.891][LoggingMessageHandler][Info ] [d944fc81] GET http://localhost/registry/user -> 200 OK (took 2ms) [13:41:08.892][LoggingMessageHandler][Info ] [8f8d3e5f] GET http://localhost/docker -> 200 OK (took 1ms) [13:41:08.894][GoBackendProcess ][Info ] msg="external: GET /system/editor 404 "axios/0.20.0" """ [13:41:08.921][GoBackendProcess ][Info ] msg="external: GET /features 200 "axios/0.20.0" """ [13:41:08.929][ApiProxy ][Info ] msg="proxy >> GET /containers/json?all=true\n" [13:41:08.930][ApiProxy ][Info ] msg="proxy >> GET /system/df\n" [13:41:08.930][ApiProxy ][Info ] msg="proxy << GET /containers/json?all=true (1.4997ms)\n" [13:41:08.933][ApiProxy ][Info ] msg="proxy << GET /system/df (2.5ms)\n" [13:41:08.933][ApiProxy ][Info ] msg="Cancel connection..." [13:41:08.933][ApiProxy ][Warning] msg="ignored error: The handle is invalid." [13:41:08.941][ApiProxy ][Info ] msg="proxy >> GET /events\n" [13:41:12.342][ApiProxy ][Info ] msg="cannot get lease for master node: an error on the server ("") has prevented the request from succeeding (get leases.coordination.k8s.io docker-desktop)" [13:41:12.343][GoBackendProcess ][Info ] msg="external: POST /events 200 "DockerDesktopGo" """ [13:41:18.003][LoggingMessageHandler][Info ] [b0d81118] GET http://localhost/settings [13:41:18.006][LoggingMessageHandler][Info ] [b0d81118] GET http://localhost/settings -> 200 OK (took 2ms) [13:41:18.009][GoBackendProcess ][Info ] msg="external: GET /features 200 "axios/0.20.0" """ [13:41:18.055][LoggingMessageHandler][Info ] [356fc192] GET http://localhost/system/disk-usage?path=C:%5CProgramData%5CDockerDesktop%5Cvm-data [13:41:18.089][LoggingMessageHandler][Info ] [356fc192] GET http://localhost/system/disk-usage?path=C:%5CProgramData%5CDockerDesktop%5Cvm-data -> 200 OK (took 34ms) [13:41:22.334][ApiProxy ][Info ] msg="cannot get lease for master node: an error on the server ("") has prevented the request from succeeding (get leases.coordination.k8s.io docker-desktop)" [13:41:22.334][GoBackendProcess ][Info ] msg="external: POST /events 200 "DockerDesktopGo" """ [13:41:32.351][ApiProxy ][Info ] msg="cannot get lease for master node: an error on the server ("") has prevented the request from succeeding (get leases.coordination.k8s.io docker-desktop)" [13:41:32.352][GoBackendProcess ][Info ] msg="external: POST /events 200 "DockerDesktopGo" """ [13:41:38.559][ApiProxy ][Info ] msg="Cancel connection..." [13:41:38.559][ApiProxy ][Info ] msg="proxy << GET /events (29.6211189s)\n"
From what I see in the log, it is an image that is downloaded that the DNS does not have certificates or is not configured. What it would do would be to remember if before closing docker which image you used or did you pull or docker-compose, etc. To delete it and restart docker and the whole team.
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
Expected behavior
Run Kubernetes on windows docker
Actual behavior
Kubernetes doesnt start up.
Information
Steps to reproduce the behavior
It looks like the proxy / network is somehow not working correctly, but all configs that I know of are to my knowledge correctly configured. If anyone has any idea, I would be very grateful, I am now out of ideas and solutions how to get Kubernetes up and running locally.