I’ve been using docker for the past couple years with no problems, the other day I was updating docker desktop using teamviewer when teamviewer on the remote computer crashed, so i forced a restart and docker vanished.
Then I tried reinstalling it and the installer crashed, I tried installing again and I got this error:
Invalid JSON string. (Exception from HRESULT: 0x83750007)
at Windows.Data.Json.JsonValue.Parse(String input)
at CommunityInstaller.InstallWorkflow.SetupBackendModeAndFeatures(List`1 backendModeFeaturesSteps)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
And I’ve been getting it since, I tried to disable and re-enable wsl, deleting the old docker folder in program files and data, searched for a registry to delete with no avail, even tried uninstalling from the installer but that also failed. If anyone can figure out the cause of the error from this log that would be great.
I have this same problem. If I find a solution, I’ll post. My fallback plan is to use minikube.
I solved it (sort of). I reverted back to version 4.17.1. That also generated an error, but at least that error pointed to a solution. I went to ~\AppData\Roaming\Docker and looked at all the json files. For me, settings.json was binary and not valid json. I renamed that file and Docker started up fine. Not sure if that will fic 4.18, but I’ll try again when I have time.
An absolute legend, Thank you so much @ggray !!
Had the same problem on my install; settings.json was all 0x0 bytes. Removing the file fixed things. Thanks @ggray!
Worked for me too, thanks
Worked for me as well. Thanks much!
I got the local on my own but missed the roaming folder.
Deleting /Docker/ and /Docker Desktop/ folders from .appData/Docker/ before installation worked for me
this Worked out for Me. Thanks.
This is worked for me too Thank you so much @ggray
Wanted to ask, from where you are downloading previous versions?, seems the only one available is, currently the 4.21.1.
@ggray legend!! tks for your help… One thing that i want to add is, the file can be rename with any word, I renamed my file to teste.json
It seems like you’re facing an issue with Docker after a remote update using TeamViewer. The error message you provided indicates an issue with parsing JSON during the installation process. This could be caused by various factors, such as corrupt installation files or conflicts with other software.
Here are some steps you can try to troubleshoot the problem:
- Clean Uninstall of Docker: Before attempting a reinstall, make sure Docker is completely uninstalled from your system. Use the official Docker uninstallation instructions for your operating system to ensure a thorough removal.
- Check Antivirus/Firewall: Sometimes, antivirus or firewall settings can interfere with the installation process. Temporarily disabling these security programs during the installation might help.
- Check Windows Updates: Ensure that your operating system is up-to-date with the latest Windows updates and patches.
- Check .NET Framework: Docker Desktop requires the .NET Framework to function correctly. Ensure that you have the necessary version of .NET Framework installed on your system.
- Try an Offline Installer: Instead of using the online installer, try downloading the offline installer from the official Docker website. Offline installers usually contain all the required files, reducing the risk of connectivity issues during the installation.
- Run Installer as Administrator: Right-click on the installer and choose “Run as Administrator” to ensure that the installation process has the necessary privileges.
- Check Event Viewer: Look into the Event Viewer in Windows for any additional error messages related to the Docker installation. Minecraft Lmhmod
- Try Compatibility Mode: Right-click on the installer, choose “Properties,” and try running the installer in compatibility mode for an older version of Windows.
- Check System Requirements: Verify that your system meets the minimum requirements for running Docker Desktop, including virtualization support.
- Check Docker Forums: If none of the above solutions work, check the Docker forums or GitHub repository for known issues or seek help from the Docker community.
Please note that troubleshooting complex issues like this can sometimes be time-consuming. If the problem persists after trying the above steps, you may want to consider reaching out to Docker support for further assistance.
Perfect, thank you so much - delete all the docker directorys in AppData and ProgramData and run the newest install file - works perfect!