I updated Docker Desktop to 4.39.0. When I wanted to run docker compose up, the container didn’t start. Since then I updated to 4.40.0, but the problem persist.
Then it really does seem to be a mounting problem.
I think you should try downgrading back to 4.38 and see if the error persists
I also use a Mac, configured close to yours: Sequoia 15,7, i9 chip, Apple Virtualization framework - VirtioFS
In both Docker Desktop 4.39 and 4.40, I experience no problem bind-mounting
While it helps the immediate problem, it doesn’t solve your inability to update to a later version now, I hope this will be resolved and you won’t be stuck on 4.38, but I wouldn’t know how to continue from here - good luck!
I’m having a similar problem. I had a working Kubernetes environment with Docker Desktop 4.38, but all the volume mounts failed with 4.39. 4.40 has not fixed the problem. With 4.39 I completely rebuilt my Kubernetes environment, but there was no change. Downgrading to 4.38 was the only thing that worked. The errors are that the host directories do not exist, which they obviously do, and obviously they’re properly configured in Docker Desktop as they work just fine in 4.38. If anything is being logged beyond the Kubernetes container logs, I haven’t found it, but I’d welcome suggestions as to where to look.