I tried to update Docker Desktop on my M2 MacBook Pro (OS 13.3) via the Docker desktop settings page, and during the download/update, Docker Desktop crashed, and the app has been deleted (file size of zero; see attached).
I can’t even submit a new support ticket, since that would require a Diagnostics ID, which I cannot obtain, given that my Docker Desktop app has been deleted!
Note: I’m using my work laptop, which restricts privileges via the Privileges app (v1.5.4). I did not have admin privileges when trying to update Docker. I’m guessing that the lack of admin privileges caused the issue. I was not prompted during the update for an admin login; instead, the Docker Desktop app was deleted.
ls -lahs ~/Library/Containers/com.docker.docker/Data/vms/0/data
Docker.raw should be there. If it is, you could probably just delete the broken app and reinstall. I hope you didn’t store anything on container filesystems or in volumes (not bind mounted folders) that you can’t reproduce in case you can’t restore your containers.
it happens to me since a few version updates back, too. Mac mini with intel and Macbook Air M1 affected. This morning with 4.25.1 again. I always delete the corrupted app from the program folder (needs admin) then download and install the new version from the docker webpage (also needs admin rights).
docker.rax (as mentioned from @rimelek) is still available, after start of Docker-Desktop the containers, images, volumes etc. are still available. Not comfortable but a workaround. Good luck.
Sorry @rimelek for the slow reply. I didn’t get a notification that your replied.
I still have the Docker.raw file. Although re-downloading and re-installing Docker “fixed” the issue, the same issue just occurred again, so my Docker app is again broken, just as before.
The problem is that the Docker updater doesn’t properly check for user admin permissions prior to starting the update process, and then crashes during the updating process as a result of permissions issues.
So, if I don’t enable privileges via the “Privileges” app that IT installed on my macbook (I forget), updating Docker results in a broken app.
It would be very helpful if the Docker updater was changed to account for a lack of user admin privileges as a results of a privilege-restriction app such as the “Privileges” app. It’s frustrating to be repeatedly forced to re-download and re-install Docker due to this issue.
Since it could be a very important info for the developers, would you open an issue on GitHub or comment on an existing issue if you find another related report?