Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

bind source path does not exist: /host_mnt

Tags:

ddev

I have a ddev installation on macOS which I used for a while.

ddev 1.16.2

docker 20.10.0

macOS 11.0.1 - Intel

Today I upgraded to docker 20.10.0 and in the process to ddev 1.16.2.

When I start an existing site, that worked all the time I get

Creating ddev-mysite-db ... error
 
ERROR: for ddev-mysite-db  Cannot create container for service db: invalid mount config for type "bind": bind source path does not exist: /host_mnt/Users/me/Documents/Development/WebSite/mysite/.ddev 

This started to happen after I upgraded docker from the previous version. Upgrading ddev did not change too much.

Even when I create a new site, the same error message pops up so I am pretty much stuck.

At least for me it looks like the docker 20.10.0 breaks ddev. Any ideas how to deal with that are very much appreciated.

like image 901
Robert Hufsky Avatar asked Jun 28 '26 12:06

Robert Hufsky


1 Answers

In Docker > Preferences > Experimental features you can try disabling gRPC, and make Docker use osxfs file sharing system.

enter image description here

Reference: https://github.com/docker/for-mac/issues/4859#issuecomment-689012097

like image 56
J Plana Avatar answered Jun 30 '26 01:06

J Plana