docker / roadmap

Welcome to the Public Roadmap for All Things Docker! We welcome your ideas.
https://github.com/orgs/docker/projects/51
Creative Commons Zero v1.0 Universal
1.74k stars 260 forks source link

Diagnosis or useful alert for daemon.json broken #246

Open yfdyh000 opened 3 years ago

yfdyh000 commented 3 years ago

Tell us about your request Diagnosis or useful tips for user's daemon.json file broken, the software quietly does not started.

Which service(s) is this request for? Docker Desktop for Windows.

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? I accidentally break the C:\Users\<username>\.docker\daemon.json file while adding the "registry-mirrors" servers, it has a bad JSON. After a period of time, I tried to start the Docker Desktop again, it doesn't respond, no tray or alert. Sometimes it says Docker is exiting (meaning).

Are you currently working around the issue?

nebuk89 commented 3 years ago

@yfdyh000 this is great feedback, we are currently working on some tools to help with diagnosis of issues and this is a great case we hadn't considered. I don't know if this will make it into the first release but we will 100% look at adding this to it!

christophermclellan commented 2 years ago

Thanks for your idea! This is something we will consider as part of our wider efforts to improve error messages within Docker Desktop. I'll add to the Considering column of our roadmap.