I’ve encountered the recent known issue about the malware for mac on a docker desktop update. It was supposed to be fixed with V 4.37.2 but I still encounter this message when downloading it: “Docker” is damaged and can’t be opened. You should move it to the Trash.
I’ve already uninstalled the app, upgraded and cleaned my brew, installed rosetta, tried the installation via interactive (double click on the dmg file) and via the cli, nothing works. Version 4.37.2 should be a patch but the issue is still there. How can I solve this?
That malware issue is not the only issue that could happen with Docker Desktop. I don’t get why everyone thinks recently they had that issue. The error message has nothing to do with it. We had another topic which I closed, because people started to discuss the malware warning there and I wanted to make sure new users see the link to the other issue.
I cannot be absolutely sure that this error message is not a consequence of the modifications made to fix the other issue, but it is not that issue. Please, read the topic I linked above. Hopefully it can help. If not, I can only recommend that I always do.
Follow the official documentation on docs.docker.com
Make sure you downloaded the correct installer for your architecture. People often downloaded the one for amd64 when they had arm64.
Make sure the browser finished downloading. You can try it from another browser
Check the filesize. If it i too small, you probably downloaded a wrong file. It can happen if something is wrong on Docker’s side. In that case you can report it to Docker on GitHub
Note that brew is not the official way to install Docker Desktop and if it fails to properly download the file, you won’t be able to install or run it.
update:
I heard about this again from other sources too, so there might be somthing new happening.
Hey, piggybacking on here as I’m running into this exact issue and none of the workarounds here is helping.
I’m running macOS Ventura 13.7.2 on my 2017 MBP (Intel chip). I downloaded the Intel chip (amd64) copy of Docker 4.37.2 from the release notes page, but I’m unable to install the application either by double-clicking the installer file or by using the Docker CLI to install. I did all the stuff recommended on this thread as well as on:
None of that seems to help. Getting the same exact error during and after copying to my Applications folder: “Docker” is damaged and can’t be opened. You should move it to the Trash. The prompt repeats indefinitely every few seconds until I agree to move the application to Trash.
Any suggestions? Happy to open a new issue if required. Appreciate any pointers.
Annoyed that I spent hours on this but wanted to share what worked for me in case it helps anyone else.
I needed to do a full wipe of everything Docker-related from my computer, as it seems deleting just the standard files at /usr/local/bin and in ~/Library sub-folders didn’t suffice.
Restarted my computer (probably could have skipped this)
Installed Docker via Homebrew Cask: brew install --cask docker (I already had Homebrew on my computer, although my previous Docker installation was not done via Homebrew, so I don’t believe brew reinstall would have worked)
And then launched Docker via Spotlight search.
Now it launches and works fine. I didn’t try downloading the dmg file from the Docker site to install it manually, but I suspect that would have worked as well after cleaning up all the rogue leftover files from prior installations.
I was stuck at this for several hours today. I tried out various suggestions and nothing worked. Finally I started trying older versions of Docker and found that version 4.31.0 works on my Mac OS Ventura
Similar to you, i was spending way too much time troubleshooting for something that should have been extremely quick.
FWIW I previously had Docker desktop installed via the .dmg from the Docker website (not via homebrew). After performing the sudo rm’s i tried to download the newest 4.37.2 dmg file from the Docker site and use it, but it was complaining about Docker being corrupted and you should move it to the recycle bin. Switching to the homebrew install had some complaints about
Error: It seems there is already a Binary at ‘/opt/homebrew/etc/bash_completion.d/docker’.
but i just rm’d the bash completion, and did a brew reinstall --cask docker