@DTS Engineer
It's still not fixed but Docker has commented on this issue via https://github.com/docker/desktop-feedback/issues/168#issuecomment-4410608279.
ctalledo
16 hours ago · edited by ctalledo
Hey, wanted to share some context on what's likely happening here.
When VirtioFS serves the guest, Apple's Virtualization framework acts as the host-side virtiofsd — it's the one opening and holding host file descriptors on behalf of the VM. When a container stops, the guest kernel sends FUSE_RELEASE messages to signal those fds can be closed, but Apple's framework doesn't appear to be honoring them reliably. The fds accumulate until the host hits its limit, and only a Docker restart clears them because that tears down the entire VM.
The gRPC FUSE workaround works precisely because it bypasses Apple's framework entirely — Docker's own Go server handles the fd management, and it closes fds correctly on FUSE_RELEASE. That the workaround is effective here suggests the issue is in Apple's Virtualization framework rather than Docker's own code.
Unfortunately since the leak lives inside Apple's framework, Docker can't fix it directly. Worth noting this is still being reported as of late 2025 (see also #218, a newer report with much more severe fd counts), so it hasn't been quietly resolved upstream either.
A related discussion was filed on the Apple Developer Forums back in 2023: https://developer.apple.com/forums/thread/741572
Topic:
App & System Services
SubTopic:
Core OS
Tags: