Docker Community Forums

Share and learn in the Docker community.

Mount drive created via subst does not work


(Smbp) #1

Expected behavior

Drive created with windows command subst available for share with docker for windows

Actual behavior

After creating of virtual drive I: its impossible to enter username\password. Infinitive dialog occurs.

Information

  • the output of log:
    [11:59:30.496][Auth ][Info ] Storing credentials: user:***********
    [11:59:30.531][NamedPipeClient][Info ] Sending TryShare(I, user:)…
    [11:59:30.556][NamedPipeServer][Info ] TryShare(I, user:
    )
    [11:59:31.565][Cmd ][Info ] This shared resource does not exist.
    [11:59:31.574][Cmd ][Info ]
    [11:59:31.583][Cmd ][Info ] More help is available by typing NET HELPMSG 2310.
    [11:59:31.593][Cmd ][Info ]
    [11:59:31.598][SambaShare ][Info ] “I” is not shared
    [11:59:31.728][NamedPipeClient][Info ] Received response for TryShare
    [11:59:31.603][SambaShare ][Info ] Creating share “I:” as “I” with Full Control to “user”
    [11:59:31.636][Cmd ][Info ] The device or directory does not exist.
    [11:59:31.644][Cmd ][Info ]
    [11:59:31.650][Cmd ][Info ] More help is available by typing NET HELPMSG 2116.
    [11:59:31.656][Cmd ][Info ]
    [11:59:31.662][SambaShare ][Error ] Failed to create share “I:” as “I” with Full Control to “user” with code: 2
    [11:59:31.691][Cmd ][Info ] This shared resource does not exist.
    [11:59:31.697][Cmd ][Info ]
    [11:59:31.704][Cmd ][Info ] More help is available by typing NET HELPMSG 2310.
    [11:59:31.710][Cmd ][Info ]
    [11:59:31.717][SambaShare ][Info ] “I” is not shared
    [11:59:31.723][NamedPipeServer][Info ] TryShare done.

Steps to reproduce the behavior

  1. Create virtual drive with subst i: c:\temp
  2. In docker ui try to share drive I: in docker for windows UI.
  3. Fill username\password with right cridentials.
  4. Dialog occurs again. See log above