Open GlynJagger opened 1 year ago
[2023-01-23T15:59:10.717419000Z][com.docker.diagnose.exe][I] set path configuration to OnHost Gathering diagnostics for ID 093478E6-F230-471B-96A9-AA0BC0EE0A8A/20230123155910 into C:\Users\JOSH~1.MAR\AppData\Local\Temp\093478E6-F230-471B-96A9-AA0BC0EE0A8A\20230123155910.zip. This may take up to 15 minutes. time="2023-01-23T08:59:10-07:00" level=info msg="Triggering Linux sysrq and log flushes via a unix socket: \\.\pipe\dockerDiagnosticd" type=unixsock time="2023-01-23T08:59:10-07:00" level=warning msg="/flush failed: Post \"http://unix/flush\": open \\.\pipe\dockerDiagnosticd: The system cannot find the file specified." type=unixsock panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x1c9 pc=0xd2f371]
Used Docker all day on Friday, turned on my computer on Monday. Between Friday and today nothing abnormal happened as far as Windows shutting down and Windows starting up.
For me, uninstalling and reinstalling Docker fixed the issue. I did not delete anything from docker's folders (in App Data and such) , and I did not loose any data, not even containers.
Just tried an uninstall and a reinstall and that did not fix it. Now the error message is different and says:
Creating "rootNode" subnodes: constructing "BackendServices" in "rootNode": writing locks to lock-directories: reading <path to AppData\Roaming\Docker\locked-directories: parsing JSON: invalid character
Just tried an uninstall and a reinstall and that did not fix it. Now the error message is different and says:
Creating "rootNode" subnodes: constructing "BackendServices" in "rootNode": writing locks to lock-directories: reading <path to AppData\Roaming\Docker\locked-directories: parsing JSON: invalid character
I'm exactly with the same problem. I've tried to uninstall, remove my user .docker folder and reboot, same problem
[SOLVED] - Delete "C:\Users\vitor.alho\AppData\Roaming\Docker\locked-directories"; open Docker Desktop and it will raise an error, but it will create a new locked-directories; open Docker Desktop again and it worked here.
Just tried an uninstall and a reinstall and that did not fix it. Now the error message is different and says:
Creating "rootNode" subnodes: constructing "BackendServices" in "rootNode": writing locks to lock-directories: reading <path to AppData\Roaming\Docker\locked-directories: parsing JSON: invalid character
I'm exactly with the same problem. I've tried to uninstall, remove my user .docker folder and reboot, same problem
[SOLVED] - Delete "C:\Users\vitor.alho\AppData\Roaming\Docker\locked-directories"; open Docker Desktop and it will raise an error, but it will create a new locked-directories; open Docker Desktop again and it worked here.
I can confirm what solved the new error of writing locks to locked-directories
for me was deleting the locked-directories
file. Went through the same initializations errors after that, but opening multiple times cleared those errors and I was finally able to get Docker running again.
To solve this issue, you need to go to "C/profileName/AppData/Roaming/Docker" and delete "locked-directories". After that restart your docker and is work
Revert to 4.13.1 that my colleague was using was the only thing that worked for me. I've since tried an upgrade to 4.16.3 and end up with the same issue. Again a revert to 4.13.1 gets me back into a position where Docker Desktop works again.
Revert to 4.13.1 that my colleague was using was the only thing that worked for me. I've since tried an upgrade to 4.16.3 and end up with the same issue. Again a revert to 4.13.1 gets me back into a position where Docker Desktop works again.
Worked for me. Using Windows 10.0.19045.2546.
Try deleting this file: C:\Users\<user>\.docker\features.json
Try deleting this file:
C:\Users\<user>\.docker\features.json
Thank you @stampycode that worked for me
Deleting the file helped me - C:\Users\<user>\AppData\Roaming\Docker\settings.json
This file had a long list of NaN NaN The problem itself appeared due to an emergency restart of Windows.
After deleting features.json file from C:\Users\Username\.docker\features.json docker desktop started .
If you have this issue I'm pretty sure 99% you are having a BSOD on Docker Desktop startup. This is due to Windows File IO not fully committed when saving the files which means the actual data is kept in buffer and is lost forever due to the BSOD. Any file that was open could potentially be corrupted this way. Try truncate any files that you see damaged.
Deleting config.json
and locked-directories
didn't work for me, but deleting locked-directories
and the entire C:\Users\<username>\.docker
directory did. Pretty sure it was caused by a recent BSOD in my case (though I wasn't using Docker at the time, so who knows?).
To solve this issue, you need to go to "C/profileName/AppData/Roaming/Docker" and delete "locked-directories". After that restart your docker and is work
- If you do not see AppData, go to view and click show hidden folder
It work for me.
Deleting the file helped me -
C:\Users\<user>\AppData\Roaming\Docker\settings.json
This file had a long list of NaN NaN The problem itself appeared due to an emergency restart of Windows.
this is what worked for me
In my case, I deleted the file: "C:\Users{your_name_here}.docker\scan\config.json"
The Docker Desktop application launched successfully and created this file from scratch.
I had an identical error that was mentioning feature.json which was located in ..\user\.docker\
. After deleting this JSON file I was able launch Docker Desktop again.
Diagnostics look to have failed to upload as I see
panic: runtime error: invalid memory address or nil pointer dereference
in the output.Actual behavior
Docker desktop will not start. A message box pops up with the message, "creating "rootNode" subnodes: constructing "BackendServices" in "rootNode": doing migrations: migrating features.json: invalid character '\x00' looking for beginning of value"
Expected behavior
Docker desktop launches.
Information
Output of
& "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" check
Creation failed
Steps to reproduce the behavior
Try and launch Docker Desktop from the icon on the Windows Desktop.