Docker failed to initialize docker desktop is shutting down
This is one of the headbanging issues when docker stops working with the error as per image -1
Solution:
Go to
C:\Users\{username}\AppData\Local\Docker
C:\Users\{username}\AppData\Roaming\Docker
C:\Users\{username}\AppData\Roaming\Docker Desktop
I have made the username bold as it should be different for you as shared mine
Delete all those docker folders or rename them.
Then open Docker as run as administrator, It should create fresh folders and open smoothly without any error.
Or by any chance, it throws an error, try uninstalling the Docker and delete the folders from the Program Files folder too, as mentioned below. then download and install a specific version of docker required.
Get inside
C:\Program Files
C:\ProgramData
C:\Program Files (x86)
Delete those docker folders or rename them.
After following the above steps, You should be able to run docker smoothly.