/var/www in my container points to C:\Users\ME\Development\laravel-drydock\laravel
Actual behavior
ERROR: for webapp rpc error: code = 2 desc = “oci runtime error: could not synchronise with container process: not a directory”
Information
I’ve been having constant issues with getting bind mounts from Windows->Docker VM->Containers for almost the past year. This seems to be a continuation of that. It seems like either the mount from Windows->VM isn’t happening, or the paths sent to the docker daemon from the Windows client are wrong.
I have encountered the same issue with Docker for Mac. I believe this is due to only certain paths being accessible for mounting (like the user directory), so instead docker searches for the path inside of the container VM and when it’s not found creates a blank directory at the path and attempts to mount that instead.