Why does Docker Desktop keep disappearing from my work Mac?
Asked by
pruning shears
I install Docker Desktop through Homebrew on my work Mac, but macOS occasionally removes it or the installation seems to get replaced. I have not experienced this on my personal Mac. Could Gatekeeper, company device management, Docker Desktop licensing, or a failed Homebrew cask upgrade be responsible?
Answers
Docker Desktop also uses a large virtual disk file by default. If the Mac is low on storage or that file becomes corrupted, Docker may fail badly and require recreating its data. Check available disk space and Dockerโs diagnostic logs, though this usually causes Docker to reset rather than macOS deliberately removing the app.
Reply to this answer
You may not need Docker Desktop at all. Colima is a common macOS alternative for running Docker containers, although it uses a different Docker socket path and some containers may need extra configuration. Another option is a Linux virtual machine. Appleโs native container tooling is worth investigating too, but it is not always a drop-in replacement for existing Docker Compose projects or containers that expect a Docker daemon.
Reply to this answer
A failed Homebrew cask upgrade can also make it look like the application was deleted. Homebrew may move the existing app aside and then fail while downloading or installing the replacement. Check the Homebrew output and logs around the time Docker disappears, and consider installing the application directly from Dockerโs official installer as a test.
Reply to this answer
The most likely explanation is your companyโs device-management system. Work Macs often use MDM policies that remove software which is not approved, and Docker Desktopโs business licensing may be part of the reason. Check the installed management profiles or ask whoever manages your laptop to confirm whether Docker Desktop is permitted.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions