{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/for-win/issues/1565","repository_url":"https://api.github.com/repos/docker/for-win","labels_url":"https://api.github.com/repos/docker/for-win/issues/1565/labels{/name}","comments_url":"https://api.github.com/repos/docker/for-win/issues/1565/comments","events_url":"https://api.github.com/repos/docker/for-win/issues/1565/events","html_url":"https://github.com/docker/for-win/issues/1565","id":289138083,"node_id":"MDU6SXNzdWUyODkxMzgwODM=","number":1565,"title":"Unable to mount C drive: 10.0.75.1 (10.0.75.1:445) open","user":{"login":"sccrthlt","id":3453279,"node_id":"MDQ6VXNlcjM0NTMyNzk=","avatar_url":"https://avatars0.githubusercontent.com/u/3453279?v=4","gravatar_id":"","url":"https://api.github.com/users/sccrthlt","html_url":"https://github.com/sccrthlt","followers_url":"https://api.github.com/users/sccrthlt/followers","following_url":"https://api.github.com/users/sccrthlt/following{/other_user}","gists_url":"https://api.github.com/users/sccrthlt/gists{/gist_id}","starred_url":"https://api.github.com/users/sccrthlt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sccrthlt/subscriptions","organizations_url":"https://api.github.com/users/sccrthlt/orgs","repos_url":"https://api.github.com/users/sccrthlt/repos","events_url":"https://api.github.com/users/sccrthlt/events{/privacy}","received_events_url":"https://api.github.com/users/sccrthlt/received_events","type":"User","site_admin":false},"labels":[{"id":868280391,"node_id":"MDU6TGFiZWw4NjgyODAzOTE=","url":"https://api.github.com/repos/docker/for-win/labels/lifecycle/stale","name":"lifecycle/stale","color":"8B4513","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2018-01-17T04:16:49Z","updated_at":"2018-11-28T03:01:03Z","closed_at":"2018-11-28T03:01:03Z","author_association":"NONE","body":"### Expected behavior\r\n```\r\ndocker run --rm -v c:\\Users:/data alpine ls /data\r\nfile1.txt\r\nfile2.txt\r\n...\r\n```\r\n\r\n### Actual behavior\r\n\r\n```\r\ndocker run --rm -v c:\\Users:/data alpine ls /data\r\nC:\\Program Files\\Docker\\Docker\\Resources\\bin\\docker.exe: Error response from daemon: An error occured while sharing drive.\r\nSee 'C:\\Program Files\\Docker\\Docker\\Resources\\bin\\docker.exe run --help'.\r\n```\nNote: when I execute the above command, Windows prompts me to share my C drive. I enter my password using `{domain}\\{username}`. After a few seconds I receive the error above.\r\n\r\n### Information\r\n````\r\nVersion: 17.12.0-ce-win47 (15139)\r\nChannel: stable\r\nStarted on: 2018/01/16 21:44:33.032\r\nResources: C:\\Program Files\\Docker\\Docker\\Resources\r\nOS: Windows 10 Enterprise\r\nEdition: Enterprise\r\nId: 1607\r\nBuild: 14393\r\nBuildLabName: 14393.1794.amd64fre.rs1_release.171008-1615\r\n....\r\n\r\n[23:00:41.362][SambaShare     ][Info   ] Removing share C\r\n[23:00:41.586][SambaShare     ][Info   ] Mount C\r\n[23:00:41.715][Cmd            ][Info   ] This shared resource does not exist.\r\n[23:00:41.716][Cmd            ][Info   ] More help is available by typing NET HELPMSG 2310.\r\n[23:00:41.722][SambaShare     ][Info   ] \"C\" is not shared\r\n[23:00:41.722][SambaShare     ][Info   ] Creating share \"C:\\\" as \"C\" with Full Control to \"scott.p.welch\"\r\n[23:00:41.878][Cmd            ][Info   ] C was shared successfully.\r\n[23:00:41.996][Cmd            ][Info   ] Share name        C\r\n[23:00:41.996][Cmd            ][Info   ] Path              C:\\\r\n[23:00:41.996][Cmd            ][Info   ] Remark            \r\n[23:00:41.996][Cmd            ][Info   ] Maximum users     No limit\r\n[23:00:41.996][Cmd            ][Info   ] Users             \r\n[23:00:41.996][Cmd            ][Info   ] Caching           Caching disabled\r\n[23:00:41.998][Cmd            ][Info   ] Permission        US\\scott.p.welch, FULL\r\n[23:00:41.998][Cmd            ][Info   ] The command completed successfully.\r\n[23:00:42.003][SambaShare     ][Info   ] \"C\" is shared\r\n[23:00:42.204][SambaShare     ][Info   ] Username: scott.p.welch\r\n[23:00:42.204][SambaShare     ][Info   ] Host IP: 10.0.75.1\r\n[23:00:42.204][SambaShare     ][Info   ] Cifs options: noperm,iocharset=utf8,nobrl,mfsymlinks,vers=3.02,domain=US,sec=ntlmsspi\r\n[23:00:42.306][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"proxy >> GET /_ping\\n\"\r\n[23:00:42.315][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"Dial Hyper-V socket bdd44cb2-aeb5-421d-b4bb-4e91297b3467:23a432c2-537a-4291-bcb5-d62504644739\"\r\n[23:00:42.315][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"Successfully dialed Hyper-V socket bdd44cb2-aeb5-421d-b4bb-4e91297b3467:23a432c2-537a-4291-bcb5-d62504644739\"\r\n[23:00:42.315][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"proxy << GET /_ping\\n\"\r\n[23:00:42.315][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"proxy >> POST /v1.35/images/load?quiet=1\\n\"\r\n[23:00:42.316][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"Dial Hyper-V socket bdd44cb2-aeb5-421d-b4bb-4e91297b3467:23a432c2-537a-4291-bcb5-d62504644739\"\r\n[23:00:42.317][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"Successfully dialed Hyper-V socket bdd44cb2-aeb5-421d-b4bb-4e91297b3467:23a432c2-537a-4291-bcb5-d62504644739\"\r\n[23:00:42.472][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"proxy << POST /v1.35/images/load?quiet=1\\n\"\r\n[23:00:42.592][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"proxy >> GET /_ping\\n\"\r\n[23:00:42.592][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"Dial Hyper-V socket bdd44cb2-aeb5-421d-b4bb-4e91297b3467:23a432c2-537a-4291-bcb5-d62504644739\"\r\n[23:00:42.593][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"Successfully dialed Hyper-V socket bdd44cb2-aeb5-421d-b4bb-4e91297b3467:23a432c2-537a-4291-bcb5-d62504644739\"\r\n[23:00:42.597][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"proxy << GET /_ping\\n\"\r\n[23:00:42.603][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"proxy >> POST /v1.35/containers/create [rewriteBinds]\\n\"\r\n[23:00:42.603][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"Rewrote mount /var/config/docker:/host_mnt (volumeDriver=) to /var/config/docker:/host_mnt\\n\"\r\n[23:00:42.603][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"proxy >> POST /v1.35/containers/create\\n\"\r\n[23:00:42.603][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"Dial Hyper-V socket bdd44cb2-aeb5-421d-b4bb-4e91297b3467:23a432c2-537a-4291-bcb5-d62504644739\"\r\n[23:00:42.606][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"Successfully dialed Hyper-V socket bdd44cb2-aeb5-421d-b4bb-4e91297b3467:23a432c2-537a-4291-bcb5-d62504644739\"\r\n[23:00:42.725][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"proxy << POST /v1.35/containers/create\\n\"\r\n[23:00:42.750][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"proxy >> POST /v1.35/containers/d166e144ff34842d3615b76ab7bd30232e3c365765914e891ed490ef29342bc4/attach?stderr=1&stdin=1&stdout=1&stream=1\\n\"\r\n[23:00:42.750][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"Dial Hyper-V socket bdd44cb2-aeb5-421d-b4bb-4e91297b3467:23a432c2-537a-4291-bcb5-d62504644739\"\r\n[23:00:42.751][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"Successfully dialed Hyper-V socket bdd44cb2-aeb5-421d-b4bb-4e91297b3467:23a432c2-537a-4291-bcb5-d62504644739\"\r\n[23:00:42.757][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"Upgrading to raw stream\"\r\n[23:00:42.758][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"proxy >> POST /v1.35/containers/d166e144ff34842d3615b76ab7bd30232e3c365765914e891ed490ef29342bc4/wait?condition=removed\\n\"\r\n[23:00:42.758][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"Dial Hyper-V socket bdd44cb2-aeb5-421d-b4bb-4e91297b3467:23a432c2-537a-4291-bcb5-d62504644739\"\r\n[23:00:42.759][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"Successfully dialed Hyper-V socket bdd44cb2-aeb5-421d-b4bb-4e91297b3467:23a432c2-537a-4291-bcb5-d62504644739\"\r\n[23:00:42.770][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"proxy >> POST /v1.35/containers/d166e144ff34842d3615b76ab7bd30232e3c365765914e891ed490ef29342bc4/start [start]\\n\"\r\n[23:00:42.770][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"proxy >> POST /v1.35/containers/d166e144ff34842d3615b76ab7bd30232e3c365765914e891ed490ef29342bc4/start\\n\"\r\n[23:00:42.771][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"Dial Hyper-V socket bdd44cb2-aeb5-421d-b4bb-4e91297b3467:23a432c2-537a-4291-bcb5-d62504644739\"\r\n[23:00:42.773][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:42-05:00\" msg=\"Successfully dialed Hyper-V socket bdd44cb2-aeb5-421d-b4bb-4e91297b3467:23a432c2-537a-4291-bcb5-d62504644739\"\r\n[23:00:42.829][Moby           ][Info   ] [ 4414.667935] docker0: port 1(veth7bc098f) entered blocking state\r\n[23:00:42.859][Moby           ][Info   ] [ 4414.716092] docker0: port 1(veth7bc098f) entered disabled state\r\n[23:00:42.884][Moby           ][Info   ] [ 4414.745561] device veth7bc098f entered promiscuous mode\r\n[23:00:42.909][Moby           ][Info   ] [ 4414.770447] IPv6: ADDRCONF(NETDEV_UP): veth7bc098f: link is not ready\r\n[23:00:42.994][Moby           ][Info   ] [ 4414.854591] IPVS: Creating netns size=2104 id=50\r\n[23:00:43.015][Moby           ][Info   ] [ 4414.880214] IPVS: ftp: loaded support on port[0] = 21\r\n[23:00:43.169][Moby           ][Info   ] [ 4415.001217] eth0: renamed from veth5fee29c\r\n[23:00:43.331][Moby           ][Info   ] [ 4415.100737] IPv6: ADDRCONF(NETDEV_CHANGE): veth7bc098f: link becomes ready\r\n[23:00:43.362][Moby           ][Info   ] [ 4415.226516] docker0: port 1(veth7bc098f) entered blocking state\r\n[23:00:43.388][Moby           ][Info   ] [ 4415.249496] docker0: port 1(veth7bc098f) entered forwarding state\r\n[23:00:43.489][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:43-05:00\" msg=\"proxy << POST /v1.35/containers/d166e144ff34842d3615b76ab7bd30232e3c365765914e891ed490ef29342bc4/start\\n\"\r\n[23:00:43.666][Moby           ][Info   ] [ 4415.481686] CIFS VFS: No username specified\r\n[23:00:43.766][Moby           ][Info   ] [ 4415.583518] Status code returned 0xc000015b STATUS_LOGON_TYPE_NOT_GRANTED\r\n[23:00:43.785][Moby           ][Info   ] [ 4415.652934] CIFS VFS: Send error in SessSetup = -5\r\n[23:00:43.803][Moby           ][Info   ] [ 4415.672288] CIFS VFS: cifs_mount failed w/return code = -5\r\n[23:00:43.836][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:43-05:00\" msg=\"proxy << POST /v1.35/containers/d166e144ff34842d3615b76ab7bd30232e3c365765914e891ed490ef29342bc4/attach?stderr=1&stdin=1&stdout=1&stream=1\\n\"\r\n[23:00:43.901][Moby           ][Info   ] [ 4415.767033] docker0: port 1(veth7bc098f) entered disabled state\r\n[23:00:43.915][Moby           ][Info   ] [ 4415.788369] veth5fee29c: renamed from eth0\r\n[23:00:44.062][Moby           ][Info   ] [ 4415.909981] docker0: port 1(veth7bc098f) entered disabled state\r\n[23:00:44.084][Moby           ][Info   ] [ 4415.949229] device veth7bc098f left promiscuous mode\r\n[23:00:44.100][Moby           ][Info   ] [ 4415.970244] docker0: port 1(veth7bc098f) entered disabled state\r\n[23:00:44.358][ApiProxy       ][Info   ] time=\"2018-01-16T23:00:44-05:00\" msg=\"proxy << POST /v1.35/containers/d166e144ff34842d3615b76ab7bd30232e3c365765914e891ed490ef29342bc4/wait?condition=removed\\n\"\r\n[23:00:44.365][SambaShare     ][Error  ] Unable to mount C drive: 10.0.75.1 (10.0.75.1:445) open\r\nrm: can't remove '/c': No such file or directory\r\nrm: can't remove '/C': No such file or directory\r\numount: can't unmount /host_mnt/c: Invalid argument\r\nmount error(5): I/O error\r\nRefer to the mount.cifs(8) manual page (e.g. man mount.cifs)\r\nmount: mounting //10.0.75.1/C on /host_mnt/c failed: Invalid argument\r\n````\n\r\n### Steps Taken to Replicate\n\n\n````\n1) docker run --rm -v c:\\Users:/data alpine ls /data\n2) Select share on Windows prompt to share C drive\n3) Enter {domain}\\{username} and password\n````\n\r\nAny help is greatly appreciated!!"}}
{"actor":{"display_login":"docker-for-desktop-robot"}}