Skip to content

Mounting C: hangs when LanmanServer is disabled #2196

@HHHartmann

Description

@HHHartmann
  • I have tried with the latest version of my channel (Stable)

Expected behavior

Show errormessage when no contact can be made to server

Actual behavior

Sharing drive hangs in commandline and settings

Information

Logfile:

[04:36:21.823][NamedPipeClient][Info   ] Sending Version()...
[04:36:21.829][NamedPipeClient][Info   ] Received response for Version
[04:36:21.831][NamedPipeClient][Info   ] Sending Mount(All, C, 10.0.75.1\Gregor:**********, Docker.Core.Settings)...
[04:36:21.827][NamedPipeServer][Info   ] Version()
[04:36:21.827][NamedPipeServer][Info   ] Version done in 00:00:00.
[04:36:21.837][NamedPipeServer][Info   ] Mount(All, C, 10.0.75.1\Gregor:**********, Docker.Core.Settings)
[04:36:22.068][SambaShare     ][Info   ] Mount C
[04:36:22.149][Cmd            ][Info   ] Server ist nicht gestartet.
'''
Then it hangs

  - Windows Version: Win 10  using Hyper-V
  - Docker for Windows Version:
PS C:\Users\gregor.hartmann> docker version
Client:
 Version:      18.03.1-ce
 API version:  1.37
 Go version:   go1.9.5
 Git commit:   9ee9f40
 Built:        Thu Apr 26 07:12:48 2018
 OS/Arch:      windows/amd64
 Experimental: false
 Orchestrator: swarm

Server:
 Engine:
  Version:      18.03.1-ce
  API version:  1.37 (minimum version 1.12)
  Go version:   go1.9.5
  Git commit:   9ee9f40
  Built:        Thu Apr 26 07:22:38 2018
  OS/Arch:      linux/amd64
  Experimental: false

### Steps to reproduce the behavior

1. disable service
Servicename: LanmanServer
Display name: Server
Description: Unterstützt Datei-, Drucker- und Named-Piped-Freigabe für diesen Computer über das Netzwerk. ....

2a call docker settings: Share any drive . After "Apply" it shows "Updating Drives ..." infinitely.
  Restarting docker is needed
2b In Powershell call 
  docker run --rm -it -v C:/:/mnt/ ubuntu
or any other linux image
It also blocks until CTRL-C is pressed

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions