Mount drive created via subst does not work

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
1 Like