for-win icon indicating copy to clipboard operation
for-win copied to clipboard

Docker4Windows: File Sharing Needs Password, My Computer Doesn't Have One

Open EnzoTheBrown opened this issue 9 years ago • 18 comments

Expected behavior

make C:// a shared drive

Actual behavior

Asking a password I don't have can't go further

Information

  • Diagnostic ID from "Diagnose & Feedback" in the menu.
  • a reproducible case if this is a bug, Dockerfiles FTW
  • page URL if this is a docs issue or the name of a man page
  • host distribution and version (Windows version, build number, etc)

Steps to reproduce the behavior

  1. ...
  2. ...

EnzoTheBrown avatar Jan 01 '17 19:01 EnzoTheBrown

Hi @EnzoTheBrown By design, we rely on authenticated samba shares, so you need to protect your user account with a password to enable drive sharing

simonferquel avatar Jan 02 '17 14:01 simonferquel

closing as this won't fix

rn avatar Jan 05 '17 11:01 rn

Is it possible to add something to the UI that explains why a password is enforced?

danielcooperxyz avatar Feb 12 '17 21:02 danielcooperxyz

I hate passwords! :(

Almusamim avatar Apr 19 '18 16:04 Almusamim

One solution found was create a User Windows Password.

Cperbony avatar Jun 09 '18 21:06 Cperbony

@Cperbony that is not a solution!

Almusamim avatar Jun 14 '18 11:06 Almusamim

@rn What's the problem with letting to enter a blank password? If it's not valid it would be rejected anyway.

image

Deilan avatar Jul 18 '18 13:07 Deilan

@Deilan Maybe you are using a windows account, in which case you must enter a password here from the microsoft account. For me it works.

WiseUA avatar Jul 18 '18 21:07 WiseUA

Yes, thanks @WiseUA works for me🥇

adrianotsi avatar Jul 29 '18 02:07 adrianotsi

I still can't use my Microsoft password

mansoncui avatar Oct 08 '18 02:10 mansoncui

You can create a new user (DockerUser) with a password and make it shared. FAQ - http://peterjohnlightfoot.com/docker-for-windows-on-hyper-v-fix-the-host-volume-sharing-issue/

mozzgov avatar Nov 02 '18 17:11 mozzgov

Thanks @WiseUA . You are a day saver

aghArdeshir avatar Dec 24 '18 14:12 aghArdeshir

Thanks @WiseUA . It works for me.

ahmetanbar avatar Jan 14 '19 19:01 ahmetanbar

Thanks @WiseUA It works

kenny-lee-1992 avatar May 29 '19 10:05 kenny-lee-1992

Thanks @WiseUA

okumo avatar Jan 20 '20 04:01 okumo

Yes, I can confirm: if you have a Microsoft account, remove the <user> username entirely, and enter your Microsoft account's email address ([email protected] for example). Then enter that account's password. Works.

petermorlion avatar Jan 27 '20 07:01 petermorlion

Note for those still having trouble, a Microsoft account is not the same as an Azure ActiveDirectory account which is what your School or Work might have for you. So if your proper Microsoft/AzureAD password isn't working, making another local user on the machine might be easiest.

IronSean avatar Feb 14 '20 15:02 IronSean

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked

docker-robott avatar Jun 19 '20 03:06 docker-robott