Docker Community Forums

Share and learn in the Docker community.

Docker bind mounting symlink folder (windows containers)


(Drahamimdocker) #1

Hi all,
I have created a symlink in my windows host which referrers to a share (UNC path).
I am starting a container with the -v flag for binding that folder (C:\x) : -v c:\x:c:\y, and getting the following error from daemon: Invalid mount: The user name or password is incorrect.

Yes, I probably need to provide these credentials for the share (why docker not using the ones stored in the host?), but how can I do that ?

Edit: When making the daemon service run with Administrator Log-On, I get the following:
invalid mount config for type “bind”:CreateFile c:\x: The user’s password must be changed before signing in.