Docker building image failer

Hello community,

I’m having an issue with building an image for my application when i try building an image this is the message i get “ERROR: failed to receive status: rpc error: code = Unavailable desc = error reading from server: read unix @->/home/alain/.docker/desktop/docker.sock: read: connection reset by peer” and immediately docker desktop stops working and quits i,Docker engine stopped after trying to build and image and docker-desktop is not running donot know whats wrong i realy need a help am using ubuntu 23 version.