Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker crashes at start: C:\\ProgramData\\DockerDesktop\\pki\\apiserver-kubelet-client.crt not found #2935

2 tasks done
baua1310 opened this issue Nov 21, 2018 · 6 comments


Copy link

  • I have tried with the latest version of my channel (Stable or Edge)
  • I have uploaded Diagnostics
  • Diagnostics ID: 9F434F7C-01F9-405E-A1D4-84D38CE55DA8/20181121225413

Expected behavior

Docker starts

Actual behavior

Docker crashes


  • Windows Version: Microsoft Windows 10 Pro Version 1803 (Build 17134.407)
  • Docker for Windows Version: Docker version 18.09.0, build 4d60db4

Steps to reproduce the behavior

  1. Install docker
  2. Start docker desktop
  3. Docker crashes with following error message:
time="2018-11-21T22:54:13+01:00" level=error msg="cannot get pki directory: cannot read \"apiserver-kubelet-client.crt\": open C:\\ProgramData\\DockerDesktop\\pki\\apiserver-kubelet-client.crt: Das System kann die angegebene Datei nicht finden."

   bei Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters) in C:\workspaces\stable-18.09.x\src\\docker\pinata\win\src\Docker.Core\pipe\NamedPipeClient.cs:Zeile 36.
   bei Docker.Actions.DoStart(SynchronizationContext syncCtx, Boolean showWelcomeWindow, Boolean executeAfterStartCleanup) in C:\workspaces\stable-18.09.x\src\\docker\pinata\win\src\Docker.Windows\Actions.cs:Zeile 92.
   bei Docker.Actions.<>c__DisplayClass21_0.<ResetToDefault>b__0() in C:\workspaces\stable-18.09.x\src\\docker\pinata\win\src\Docker.Windows\Actions.cs:Zeile 155.
   bei Docker.WPF.TaskQueue.<>c__DisplayClass19_0.<.ctor>b__1() in C:\workspaces\stable-18.09.x\src\\docker\pinata\win\src\Docker.WPF\TaskQueue.cs:Zeile 59.

I have looked up the dir C:\ProgramData\DockerDesktop\pki. There is no file called apiserver-kubelet-client.crt but a file called apiserver-etcd-client.crt

Copy link

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

Copy link

same error +1
how to fix it? reinstall has no effect

Copy link

got the same error.
will this be fixed in the next version?

/remove-lifecycle stale

Copy link


Copy link

jpvosloo commented May 19, 2020

If you are using docker with WSL 2 in May 2020 then do the following in a terminal:
cd /d %LOCALAPPDATA%\Docker\pki
copy apiserver-etcd-client.crt apiserver.crt
Now try to re-start docker.

Copy link

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 docker locked and limited conversation to collaborators Jul 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet

No branches or pull requests

6 participants