Repository navigation
Description
Description
About once a week my docker for mac installation throws an error and wants me to delete it. This forces me to have to redownload and install Docker for mac. I get a MacOS alert with the message:
"Docker" is damaged and can't be opened. You should move it to the Trash.
After deleting and re-installing, one of two things happens
- Either my installation is now ok and works for another 7 days or so before repeating this error.
- I immediately get the error after re-install. If I reboot my computer, and re-install again, I often get outcome Expand the README with some useful links and information #1 above.
Though I'm not 100% sure, this seems to have started as of version 4.24.0, which I installed because I was excited about the new resource saver feature.
This has happened on version 4.24.0, 4.24.1, 4.24.2, and 4.24.5
Reproduce
- Install docker for mac
- Use it.
- Eventually get the error
Expected behavior
I don't expect this to happen at all
docker version
Client:
Cloud integration: v1.0.35+desktop.5
Version: 24.0.6
API version: 1.43
Go version: go1.20.7
Git commit: ed223bc
Built: Mon Sep 4 12:28:49 2023
OS/Arch: darwin/arm64
Context: desktop-linux
Server: Docker Desktop 4.25.0 (126437)
Engine:
Version: 24.0.6
API version: 1.43 (minimum version 1.12)
Go version: go1.20.7
Git commit: 1a79695
Built: Mon Sep 4 12:31:36 2023
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.6.22
GitCommit: 8165feabfdfe38c65b599c4993d227328c231fca
runc:
Version: 1.1.8
GitCommit: v1.1.8-0-g82f18fe
docker-init:
Version: 0.19.0
GitCommit: de40ad0docker info
Client:
Version: 24.0.6
Context: desktop-linux
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.11.2-desktop.5
Path: /Users/ericanderson/.docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.23.0-desktop.1
Path: /Users/ericanderson/.docker/cli-plugins/docker-compose
dev: Docker Dev Environments (Docker Inc.)
Version: v0.1.0
Path: /Users/ericanderson/.docker/cli-plugins/docker-dev
extension: Manages Docker extensions (Docker Inc.)
Version: v0.2.20
Path: /Users/ericanderson/.docker/cli-plugins/docker-extension
init: Creates Docker-related starter files for your project (Docker Inc.)
Version: v0.1.0-beta.9
Path: /Users/ericanderson/.docker/cli-plugins/docker-init
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
Version: 0.6.0
Path: /Users/ericanderson/.docker/cli-plugins/docker-sbom
scan: Docker Scan (Docker Inc.)
Version: v0.26.0
Path: /Users/ericanderson/.docker/cli-plugins/docker-scan
scout: Docker Scout (Docker Inc.)
Version: v1.0.9
Path: /Users/ericanderson/.docker/cli-plugins/docker-scout
Server:
Containers: 18
Running: 18
Paused: 0
Stopped: 0
Images: 7
Server Version: 24.0.6
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 8165feabfdfe38c65b599c4993d227328c231fca
runc version: v1.1.8-0-g82f18fe
init version: de40ad0
Security Options:
seccomp
Profile: unconfined
cgroupns
Kernel Version: 6.4.16-linuxkit
Operating System: Docker Desktop
OSType: linux
Architecture: aarch64
CPUs: 10
Total Memory: 19.51GiB
Name: linuxkit-7ecc7eae69be
ID: 1cff2712-a691-4ffe-b744-bcd48c853a64
Docker Root Dir: /var/lib/docker
Debug Mode: false
HTTP Proxy: http.docker.internal:3128
HTTPS Proxy: http.docker.internal:3128
No Proxy: hubproxy.docker.internal
Experimental: false
Insecure Registries:
hubproxy.docker.internal:5555
127.0.0.0/8
Live Restore Enabled: false
WARNING: daemon is not using the default seccomp profileDiagnostics ID
18F45D69-1E4A-48FF-BF3D-918A69C6C5B0/20231027142839
Additional Info
This is happening to several of my co-workers as well. We're all on Apple Silicon, and coworkers on Intel macs don't seem to experience this issue.

Activity
rorylinehan-agora commentedon Nov 3, 2023
Happened to me as well. I restarted, re-downloaded, and managed to install. But I can't build images now - 4.25.0 seems to be completely borked on M1 macOS Sonoma 14.1
faddah commentedon Nov 16, 2023
+1 — I'm seeing this also, also opening a ticket with Docker Support and have posted on the Docker Slack #docker-desktop-mac channel —
Docker Support Issue — can't install Docker for Mac Apple Silicon (M2)
Here are my specs —
I had, I think, Docker Desktop app for Mac for Apple Silicon v4.24.1, and I tried to update in the Docker Desktop App to the new Docker Desktop app for Mac for Apple Silicon v4.25.0. Whenever I tried to update, it not only deleted my old Docker Desktop app for Mac, but it won't launch the newer Docker Desktop app for Mac for Apple Silicon v4.25.0, as when it is copying over, I get a message from Mac OS saying "Docker.app is damaged and cannot be opened. You should move it to the trash," with two buttons, "Move to Trash" and "Cancel." What makes matters worse, is this dialogue will not go away, no matter how long I hold down the Escape key to do the "Cancel," and will only go away once I've moved the new Docker Desktop app for Mac for Apple Silicon v4.25.0 to the trash. I cannot move it out of the trash, as the moment I try, I immediately get the "Docker.app is damaged and cannot be opened. You should move it to the trash," with the two buttons, "Move to Trash" and "Cancel" again, over and over.
I have tried the following to resolve they and get the newer Docker Desktop app for Mac for Apple Silicon v4.25.0 installed on my MacBook Air, as I need immediately it for my work and development projects —
ls -lahs ~/Library/Containers/com.docker.docker/Data/vms/0/dataand if theDocker.rawfile is there, delete. I did so, and restarted my MacBook air, re-downloaded a new Docker Desktop app for Mac for Apple Silicon v4.25.0 install *.dmg file, and tried copying Docker Desktop app for Mac for Apple Silicon v4.25.0 to my MacBook Air Applications folder, and still get the same result of getting the Mac OS dialogue telling me the Docker.app is damaged and must be moved to the trash.~/Library/Containers/com.docker.dockerand~/Library/Containers/com.docker.helperdirectories completely, as well as searching for and deleting any othercom.docker.*directories or files and any docker-related*.plistfiles, restarting the MacBook Air and re-downloading the install dmg files for Docker Desktop app v4.25.0 for Apple Silicon and reinstalling, and I still get the same result of getting the Mac OS dialogue telling me the Docker.app is damaged and must be moved to the trash.Obviously, I'm frustrated and at a loss for what to do here — I cannot be without Docker, my work / projects require I use that and some kubernetes stuff on AWS (AWS ECS Fargate & AWS EKS) so I cannot be without Docker and I have had this problem since last night. If someone could please tell me how I can properly download the latest Docker Desktop app for Mac for Apple Silicon v4.25.0 on my MacBook Air and have it install properly with no errors, I would greatly appreciate it. Thank you in advance.
rorylinehan-agora commentedon Nov 16, 2023
@faddah If it helps, I fixed mine by downgrading to Docker desktop 4.24.2
almunnings commentedon Nov 20, 2023
Same thing happened to me,
Normal auto-update of docker, ☠️
@faddah and I have had some luck re-installing rosetta, before installing docker.
Perhaps there is a hint in the response from installing rosetta:
Try:
softwareupdate --install-rosettaThen re-drag-dropping the app into your Applications from the download dmg.
Seemed to work after that.
No idea why.
neonima commentedon Nov 20, 2023
Hey there @aroc, would you be able to try what @almunnings suggested is working?
Can you also make sure @aroc you have your time system correctly synced?
System Settings > Date and TimeI've seen some users having this problem on other apps where the system time didn't match the created time of the signed DMG which can "confuse" gatekeeperThank you very much everyone for the investigation, that's really insightful - I am currently investigating how this problem is happening and how it could relate to
rosetta 2faddah commentedon Nov 21, 2023
Actually, through @almunnings on the Docker Slack in the #docker-desktop-mac channel, i was finally able to get help and get this fixed. What @almunnings did was, from the Mac OS Terminal command line, he did
$ softwareupdate --install-rosetta, and then downloaded the latest Docker Desktop for Mac v4.25.1 for Apple Silicon chip, copied that new version over, and it seemed to work without the dreaded, "'Docker' is damaged and can't be opened. You should move it to the Trash." error. I did the same, and it is now working for me also.However, I think this ticket needs to remain open, because Rosetta is for emulating / virtualizing Mac OS Apps that were created for Intel chip byte code, not the current Apple Silicon M1, M2 or M3 family chipset. There is no reason, if, as it purports to be, the Docker Desktop for Mac v4.25.1 for Apple Silicon is solely for Apple Silicon Macs, there should be no Rosetta or previous Intel emulation / virtualization needed. But that is the fix. So I think the Docker engineering team needs to really look at this and figure out why their Apple Silicon software download requires Rosetta emulations / virtualization to run properly.
netopsengineer commentedon Nov 25, 2023
This happened to me also but on Intel Mac, this is the second time in about a year, and seemingly related to updating but not immediately after, usually after a reboot and the login item for Docker tries to start and it's a wrap. Latest Sonoma update, latest Docker Desktop, I've just finished uninstalling and about to reinstall but this requires deleting volumes and essentially losing everything related to Docker.
MaximGns commentedon Jan 1, 2024
@almunnings Thanks for sharing this info, this made it work indeed!
jwilliams-fn commentedon Jan 9, 2024
I was still getting this after running:
So I ended up copying Docker.app out of the .dmg and into my Downloads folder and then manually moving it to my applications directory with:
For whatever reason that seemed to work.
63 remaining items
sharbelmerheb commentedon Jan 15, 2025
Found a solution for me that kept all my images and containers (M1 Ventura 13.0)
Simply download the correct docker desktop dmg, double click it and then drag the .app into your downloads folder.
Then drag and drop the .app into your applications
And voila!
PS: Just ignore the move to trash message from Docker, drag it to the side of the screen so it doesn't pop up again :D
sagarjethi commentedon Jan 17, 2025
Thi help to Fix issue
bholagabbar commentedon Jan 18, 2025
Works! Perfect, thank you
pangwen commentedon Jan 22, 2025
tks, it works for me
gnomefin commentedon Jan 22, 2025
These above commands worked, lol? and opened my docker desktop no data loss at all, like a magic.
Tushar-zaapi commentedon Jan 28, 2025
Yeah me too. No data is lost after logging in.
yudintsevegor commentedon Feb 16, 2025
I had the similar issue:
I tried multiple things presented in this discussion, but for me helped installing the older version of docker 4.37.0 (https://docs.docker.com/desktop/release-notes/#4370)
Apple M1 chip
OS 15.3.1 (I used it have older versions but as a part of the solving this issued bumped it to the latest one, it didn't help)
I also tried the suggestion from @israrwz (#7046 (comment)), but it didn't work as well when I did at the first time (but might contribute to the solution eventually idk).
maininformer commentedon Mar 25, 2025
This happened to me after I migrated from an intel mac to an apple silicon mac; homebrew and docker got copied but were broken. Fixed it by:
and
Then restarted and reinstalled through docker desktop.
salientknight commentedon May 22, 2025
I am having this same problem. Yesterday I removed docker and reinstalled it. I did not install docker desktop but instead switched to colima and it worked for the rest of the day. Today I am getting the same error again
fuzzy76 commentedon Oct 21, 2025
Happened to me now. A
brew reinstall docker-desktopdid not help. Why is this issue closed if it keeps happening?Bruno-val-bus commentedon Feb 5, 2026
I'm getting the exact same issue. Deleting and re-installing did nothing.
anthonysim commentedon Feb 11, 2026
I am getting the same issue as well, tried re-installing to no avail.
bsousaa commentedon Feb 11, 2026
@anthonysim @Bruno-val-bus can you please generate a diagnostics id?
thewoolleyman commentedon Feb 21, 2026
This is still happening. Can some maintainer please reopen this issue, or else point to a different open issue and lock comments on this one?