docker / for-mac

Bug reports for Docker Desktop for Mac
https://www.docker.com/products/docker#/mac
2.43k stars 118 forks source link

Docker update failed, docker is corrupt fails to start, re-installing manually results in the same corruption error #7128

Open manuel-koch opened 8 months ago

manuel-koch commented 8 months ago

Description

I triggered update of docker-for-mac desktop app today ( don't know what version I had ) for Arm64 architecture. The update started, shut down docker desktop and tried to restart but a MacOS dialog popped up, complaining that "Docker.app" is corrupt and should be moved to trashbin.

I downloaded the installer from docker afterwards, drag'n'dropped the Docker.app into my Applications folder but at the end of the copy progress the same MacOS popup appeared complaining that Docker.app is corrupt and should be moved to trashbin.

Bildschirmfoto 2024-01-09 um 17 37 32

Now I'm stuck with no running docker-for-mac !

Reproduce

  1. download docker-for-mac desktop app installer DMG
  2. Drag'n'Drop the Docker.app from DMG into Application folder
  3. Suddenly MacOS popup complaining application is corrupt
  4. No usable Docker.app

Expected behavior

Installing or even updating docker-for-mac desktop app works as expected.

docker version

since it destroyed itself during update and manuall installing fails too, I don't know any version info of the former and current docker-for-mac.

docker info

since it destroyed itself during update and manuall installing fails too, I don't know any version info of the former and current docker-for-mac.

Diagnostics ID

unknown

Additional Info

No response

manuel-koch commented 8 months ago

Additionally this popup seems to re-appear constantly now. As long as I don't click the "Move to trashbin" button of the MacOS popup, it comes again after some seconds !?

Moving Docker.app to trashbin makes this popup stop appearing - BUT as soon as I install the Docker.app again using the DMG the same error reappears incl. repeated MacOS popup when I just click "abort".

manuel-koch commented 8 months ago

Moved Docker.app to trashbin, restarted computer, re-installed Docker.app from downloaded DMG successfully, it starts up normally. The installed version is now 4.26.1 (131620).

Looking into MacOS system settings I can see now two entries in "Allow background activities" ( there was just the first entry before the installation failed ): Bildschirmfoto 2024-01-09 um 18 07 08

The docker-for-mac app menu shows strange message "Configs changed by another app" and there is a new menu entry "Re-appy configurations".

I clicked "Re-appy configurations" and docker seems to work normal again.

manuel-koch commented 7 months ago

Strange message "Configs changed by another app" and menu option "Re-appy configurations" are now available every time my computer restarted and Docker App started again.

manuel-koch commented 7 months ago

After yet another automatic update being applied, the installed version is now 4.27.1. Strange message "Configs changed by another app" and menu option "Re-appy configurations" are still available every time my computer restarted and Docker App started again.

manuel-koch commented 7 months ago

After yet another automatic update being applied, the installed version is now 4.27.2. Strange message "Configs changed by another app" and menu option "Re-appy configurations" are still available every time my computer restarted and Docker App started again.

manuel-koch commented 6 months ago

Never ending story.

After yet another automatic update being applied, the installed version is now 4.28.0. Strange message "Configs changed by another app" and menu option "Re-appy configurations" are still available every time my computer restarted and Docker App started again.

bsousaa commented 6 months ago

@manuel-koch can you share a diagnostics id? You can generate one from the terminal. See https://docs.docker.com/desktop/troubleshoot/overview/#diagnose-from-the-terminal

manuel-koch commented 6 months ago

I ran /Applications/Docker.app/Contents/MacOS/com.docker.diagnose check and it showed no error. I ran /Applications/Docker.app/Contents/MacOS/com.docker.diagnose gather -upload and it eventually printed Diagnostics ID: 34D00E68-AAFE-417B-B460-4C38EDBC2C74/20240311130426 (uploaded)