Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.13.0-rc3-beta32.1 (9324) does not start #316

Closed
reypm opened this issue Dec 13, 2016 · 27 comments
Closed

1.13.0-rc3-beta32.1 (9324) does not start #316

reypm opened this issue Dec 13, 2016 · 27 comments

Comments

@reypm
Copy link

reypm commented Dec 13, 2016

Expected behavior

Docker start properly and container can start up

Actual behavior

  • Docker doesn't start (the icon on the taskbar still animated and I can't access the GUI)
  • As soon as I run the command docker-compose up -d from Windows Power Shell it ends with the following output:
Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "compose\cli\main.py", line 65, in main
  File "compose\cli\main.py", line 117, in perform_command
  File "compose\cli\main.py", line 849, in up
  File "compose\project.py", line 372, in up
  File "compose\project.py", line 539, in warn_for_swarm_mode
  File "site-packages\docker\api\daemon.py", line 33, in info
  File "site-packages\docker\utils\decorators.py", line 47, in inner
  File "site-packages\docker\client.py", line 139, in _get
  File "site-packages\requests\sessions.py", line 488, in get
  File "site-packages\requests\sessions.py", line 475, in request
  File "site-packages\requests\sessions.py", line 596, in send
  File "site-packages\requests\adapters.py", line 423, in send
  File "site-packages\requests\packages\urllib3\connectionpool.py", line 595, in urlopen
  File "site-packages\requests\packages\urllib3\connectionpool.py", line 363, in _make_request
  File "httplib.py", line 1057, in request
  File "httplib.py", line 1097, in _send_request
  File "httplib.py", line 1053, in endheaders
  File "httplib.py", line 897, in _send_output
  File "httplib.py", line 859, in send
  File "site-packages\docker\transport\npipeconn.py", line 31, in connect
  File "site-packages\docker\transport\npipesocket.py", line 22, in wrapped
  File "site-packages\docker\transport\npipesocket.py", line 49, in connect
pywintypes.error: (2, 'WaitNamedPipe', 'The system cannot find the file specified.')
docker-compose returned -1

Information

Below is the content log file for Docker:

Version: 1.13.0-rc3-beta32.1 (9324)
Channel: Beta
Sha1: 31bcc0f6246738430a332a16bb698aa5ea48d80c
Started on: 2016/12/12 20:43:15.875
Resources: C:\Program Files\Docker\Docker\Resources
OS: Windows 10 Pro
Edition: Professional
Id: 1607
Build: 14393
BuildLabName: 14393.479.amd64fre.rs1_release.161110-2025
File: C:\Users\ReynierPM\AppData\Local\Docker\log.txt
CommandLine: "C:\Program Files\Docker\Docker\Docker for Windows.exe" 
You can send feedback, including this log file, at https://github.com/docker/for-win/issues
[20:43:15.978][GUI            ][Info   ] Starting...
[20:43:16.240][Tracking       ][Info   ] Crash report and usage statistics are enabled
[20:43:16.244][SegmentApi     ][Info   ] Usage statistic: appLaunched
[20:43:16.314][NamedPipeClient][Info   ] Sending Version()...
[20:43:16.325][NamedPipeClient][Info   ] Received response for Version
[20:43:16.326][SegmentApi     ][Info   ] Usage statistic: heartbeat
[20:42:52.205][BackendServer  ][Info   ] Started
[20:43:16.324][NamedPipeServer][Info   ] Version()
[20:43:16.324][NamedPipeServer][Info   ] Version done in 00:00:00.
[20:43:16.422][Updater        ][Info   ] Checking for updates on channel Beta...
[20:43:16.422][NamedPipeClient][Info   ] Sending Start(Docker.Core.Settings)...
[20:43:16.425][NamedPipeServer][Info   ] Start(Docker.Core.Settings)
[20:43:16.430][PowerMode      ][Info   ] Stop
[20:43:16.435][HyperV         ][Info   ] Stop
[20:43:16.458][PowerShell     ][Info   ] Run script with parameters: -Stop True...
[20:43:16.466][PowerShell     ][Info   ] Creating a Runspace Pool...
[20:43:16.773][PowerShell     ][Info   ] Runspace Pool created (Min=1, Max=2)
[20:43:16.800][Updater        ][Info   ] Local build 9324 is as good as the remote 9324 on channel Beta
[20:43:16.862][HyperV         ][Info   ] Script started at 20:43:16.850
[20:43:18.330][HyperV         ][Info   ] Module loaded at 20:43:18.330
[20:43:19.295][HyperV         ][Info   ] VM MobyLinuxVM does not exist
[20:43:19.296][HyperV         ][Debug  ] [stop] took 00:00:02.8569982 to run
[20:43:19.296][OptimizeDisk   ][Info   ] Optimize
[20:43:19.306][PowerShell     ][Info   ] Run script...
[20:43:20.138][Moby           ][Info   ] Stop
[20:43:20.143][HyperVGuids    ][Info   ] Installing GUIDs...
[20:43:20.143][PowerMode      ][Info   ] Start
[20:43:20.143][HyperV         ][Info   ] Create
[20:43:20.144][PowerShell     ][Info   ] Run script with parameters: -Create True -SwitchSubnetAddress 10.0.75.0 -SwitchSubnetMaskSize 24 -CPUs 2 -Memory 2048 -IsoFile C:\Program Files\Docker\Docker\Resources\mobylinux.iso...
[20:43:20.144][HyperVGuids    ][Info   ] GUIDs installed
[20:43:20.147][Firewall       ][Info   ] Opening ports for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe...
[20:43:20.150][HyperV         ][Info   ] Script started at 20:43:20.150
[20:43:20.160][HyperV         ][Info   ] Module loaded at 20:43:20.160
[20:43:21.926][HyperV         ][Info   ] Creating Switch: DockerNAT...
[20:43:21.941][Firewall       ][Info   ] Ports are opened
[20:43:25.962][HyperV         ][Info   ] Switch created.
[20:43:26.509][HyperV         ][Info   ] Set IP address on switch
[20:43:29.273][HyperV         ][Info   ] Creating VM MobyLinuxVM...
[20:43:30.769][HyperV         ][Info   ] Setting CPUs to 2 and Memory to 2048 MB
[20:43:33.131][Linux          ][Error  ] Failed to start: Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The computer 'REYNIERPM-DESKT' could not be resolved. Make sure you typed the machine name correctly and that you have network access.
at Get-Vhd-Root, <No file>: line 89
at New-MobyLinuxVM, <No file>: line 210
at <ScriptBlock>, <No file>: line 370. Let's retry
[20:43:33.132][PowerShell     ][Info   ] Run script...
[20:43:34.407][HyperV         ][Info   ] Hyper-V is running
[20:43:34.407][PowerMode      ][Info   ] Stop
[20:43:34.407][HyperV         ][Info   ] Stop
[20:43:34.408][PowerShell     ][Info   ] Run script with parameters: -Stop True...
[20:43:34.412][HyperV         ][Info   ] Script started at 20:43:34.412
[20:43:34.421][HyperV         ][Info   ] Module loaded at 20:43:34.421
[20:43:35.261][HyperV         ][Info   ] VM MobyLinuxVM is stopped
[20:43:35.261][HyperV         ][Debug  ] [stop] took 00:00:00.8540007 to run
[20:43:35.261][OptimizeDisk   ][Info   ] Optimize
[20:43:35.261][PowerShell     ][Info   ] Run script...
[20:43:36.286][Moby           ][Info   ] Stop
[20:43:36.298][HyperV         ][Info   ] Destroy
[20:43:36.298][PowerShell     ][Info   ] Run script with parameters: -Destroy True -KeepVolume True...
[20:43:36.305][HyperV         ][Info   ] Script started at 20:43:36.305
[20:43:36.319][HyperV         ][Info   ] Module loaded at 20:43:36.319
[20:43:37.159][HyperV         ][Info   ] VM MobyLinuxVM is stopped
[20:43:37.160][HyperV         ][Info   ] Destroying Switch DockerNAT...
[20:43:39.428][HyperV         ][Info   ] Removing VM MobyLinuxVM...
[20:43:40.297][HyperV         ][Debug  ] [destroy] took 00:00:03.9988668 to run
[20:43:40.297][Firewall       ][Info   ] Closing ports...
[20:43:40.847][Firewall       ][Info   ] Ports are closed
[20:43:40.847][HyperVGuids    ][Info   ] Removing GUIDs...
[20:43:40.848][HyperVGuids    ][Info   ] GUIDs removed
[20:43:40.848][HyperV         ][Info   ] Create
[20:43:40.848][PowerShell     ][Info   ] Run script with parameters: -Create True -SwitchSubnetAddress 10.0.75.0 -SwitchSubnetMaskSize 24 -CPUs 2 -Memory 2048 -IsoFile C:\Program Files\Docker\Docker\Resources\mobylinux.iso...
[20:43:40.853][HyperV         ][Info   ] Script started at 20:43:40.853
[20:43:40.862][HyperV         ][Info   ] Module loaded at 20:43:40.861
[20:43:42.541][HyperV         ][Info   ] Creating Switch: DockerNAT...
[20:43:45.817][HyperV         ][Info   ] Switch created.
[20:43:45.886][HyperV         ][Info   ] Set IP address on switch
[20:43:47.543][HyperV         ][Info   ] Creating VM MobyLinuxVM...
[20:43:48.808][HyperV         ][Info   ] Setting CPUs to 2 and Memory to 2048 MB
[20:43:51.979][HyperV         ][Info   ] Creating dynamic VHD: C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx
[20:43:54.238][PowerMode      ][Info   ] Stop
[20:43:54.238][HyperV         ][Info   ] Stop
[20:43:54.238][PowerShell     ][Info   ] Run script with parameters: -Stop True...
[20:43:54.243][HyperV         ][Info   ] Script started at 20:43:54.243
[20:43:54.253][HyperV         ][Info   ] Module loaded at 20:43:54.252
[20:43:55.107][HyperV         ][Info   ] VM MobyLinuxVM is stopped
[20:43:55.107][HyperV         ][Debug  ] [stop] took 00:00:00.8687696 to run
[20:43:55.107][OptimizeDisk   ][Info   ] Optimize
[20:43:55.107][PowerShell     ][Info   ] Run script...
[20:43:56.140][Moby           ][Info   ] Stop
[20:43:56.143][HyperV         ][Info   ] Destroy
[20:43:56.143][PowerShell     ][Info   ] Run script with parameters: -Destroy True -KeepVolume True...
[20:43:56.148][HyperV         ][Info   ] Script started at 20:43:56.148
[20:43:56.156][HyperV         ][Info   ] Module loaded at 20:43:56.156
[20:43:56.993][HyperV         ][Info   ] VM MobyLinuxVM is stopped
[20:43:56.994][HyperV         ][Info   ] Destroying Switch DockerNAT...
[20:43:59.311][HyperV         ][Info   ] Removing VM MobyLinuxVM...
[20:44:00.189][HyperV         ][Debug  ] [destroy] took 00:00:04.0453887 to run
[20:44:00.189][Firewall       ][Info   ] Closing ports...
[20:44:00.293][Firewall       ][Info   ] Ports are closed
[20:44:00.293][HyperVGuids    ][Info   ] Removing GUIDs...
[20:44:00.293][HyperVGuids    ][Info   ] GUIDs removed
[20:44:00.295][NamedPipeServer][Error  ] Unable to execute Start: Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The computer 'REYNIERPM-DESKT' could not be resolved. Make sure you typed the machine name correctly and that you have network access.
at New-MobyLinuxVM, <No file>: line 214
at <ScriptBlock>, <No file>: line 370    at Docker.Backend.HyperV.RunScript(String action, Dictionary`2 parameters)
   at Docker.Backend.ContainerEngine.Linux.Start(Settings settings)
   at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass8_0.<Register>b__0(Object[] parameters)
   at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters)
[20:44:00.334][NamedPipeClient][Error  ] Unable to send Start: Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The computer 'REYNIERPM-DESKT' could not be resolved. Make sure you typed the machine name correctly and that you have network access.
at New-MobyLinuxVM, <No file>: line 214
at <ScriptBlock>, <No file>: line 370
[20:44:00.335][Notifications  ][Error  ] Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The computer 'REYNIERPM-DESKT' could not be resolved. Make sure you typed the machine name correctly and that you have network access.
at New-MobyLinuxVM, <No file>: line 214
at <ScriptBlock>, <No file>: line 370
[20:44:00.349][CrashReport    ][Info   ] Preparing package to send with the diagnostics
[20:44:00.350][NamedPipeClient][Info   ] Sending DownloadVpnKitLogs(C:\Users\ReynierPM\AppData\Local\Temp\pcc0vsyv.j32\pcap.tar)...
[20:44:00.350][NamedPipeClient][Info   ] Sending DownloadVmLogs(C:\Users\ReynierPM\AppData\Local\Temp\pcc0vsyv.j32\mobyLogs.tar)...
[20:44:00.351][NamedPipeClient][Info   ] Sending GetDebugInfo()...
[20:44:00.350][NamedPipeServer][Info   ] DownloadVpnKitLogs(C:\Users\ReynierPM\AppData\Local\Temp\pcc0vsyv.j32\pcap.tar)
[20:44:00.351][NamedPipeServer][Info   ] DownloadVmLogs(C:\Users\ReynierPM\AppData\Local\Temp\pcc0vsyv.j32\mobyLogs.tar)
[20:44:00.351][NamedPipeServer][Info   ] GetDebugInfo()
[20:44:00.377][PowerShell     ][Info   ] Run script '(Get-VM MobyLinuxVM).Id.Guid'...
[20:44:01.206][NamedPipeClient][Info   ] Received response for DownloadVmLogs
[20:44:01.206][HyperV         ][Warning] Unable to download logs: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Hyper-V was unable to find a virtual machine with name "MobyLinuxVM".
[20:44:01.206][NamedPipeServer][Info   ] DownloadVmLogs done in 00:00:00.8550021.
[20:44:21.411][NamedPipeServer][Info   ] GetDebugInfo done in 00:00:21.0600030.
[20:44:21.413][NamedPipeClient][Info   ] Received response for GetDebugInfo

Steps to reproduce the behavior

  1. Download the latest BETA version and try to run the command docker-compose

NOTE: I can confirm switching to stable version makes everything to work fine

@rn
Copy link
Contributor

rn commented Dec 13, 2016

Thanks, the compose error message is expected since the Linux VM is not running.

It's interesting that the stable version is working. Could you upload a diagnostics, it contains additional information which will allow us to debug this further.

@rn rn changed the title Issues while try to run docker-compose in 1.13.0-rc3-beta32.1 (9324) 1.13.0-rc3-beta32.1 (9324) does not start Dec 13, 2016
@reypm
Copy link
Author

reypm commented Dec 13, 2016

@rneugeba How I do that?

@rn
Copy link
Contributor

rn commented Dec 13, 2016

In the systray there is a little whale icon. right-click on it and select Diagnose & Feedback. Then "Upload diagnostics". This may take a while, but afterwards there should be a diagnostics ID displayed which will us to retrieve the diagnostics

@reypm
Copy link
Author

reypm commented Dec 14, 2016

@rneugeba sorry for the delay here you go:

A diagnostic was uploaded with id: 094C57BA-269F-48DF-AE2F-EB0A57D81369/2016-12-13_19-55-02

@rn
Copy link
Contributor

rn commented Dec 14, 2016

I'm not entirely sure if there is something wrong with your system. The Linux VM booted and there is a container running.

Also the log is from the stable release and not from the beta as the title of the issue suggests

@reypm
Copy link
Author

reypm commented Dec 14, 2016

@rneugeba ohhh I complete misunderstood what you ask me. I will upload the report again when I get into home today

@reypm
Copy link
Author

reypm commented Dec 14, 2016

@rneugeba here you go:

untitled

Upload a diagnostic is not working either ....
untitled

Here is the log file content:

Version: 1.13.0-rc3-beta32.1 (9324)
Channel: Beta
Sha1: 31bcc0f6246738430a332a16bb698aa5ea48d80c
Started on: 2016/12/14 17:44:50.429
Resources: C:\Program Files\Docker\Docker\Resources
OS: Windows 10 Pro
Edition: Professional
Id: 1607
Build: 14393
BuildLabName: 14393.576.amd64fre.rs1_release_inmarket.161208-2252
File: C:\Users\ReynierPM\AppData\Local\Docker\log.txt
CommandLine: "C:\Program Files\Docker\Docker\Docker for Windows.exe" 
You can send feedback, including this log file, at https://github.com/docker/for-win/issues
[17:44:50.528][GUI            ][Info   ] Starting...
[17:44:50.758][Tracking       ][Info   ] Crash report and usage statistics are enabled
[17:44:50.763][SegmentApi     ][Info   ] Usage statistic: appLaunched
[17:44:50.866][NamedPipeClient][Info   ] Sending Version()...
[17:44:50.876][NamedPipeClient][Info   ] Received response for Version
[17:44:50.877][SegmentApi     ][Info   ] Usage statistic: heartbeat
[17:44:47.352][BackendServer  ][Info   ] Started
[17:44:50.875][NamedPipeServer][Info   ] Version()
[17:44:50.875][NamedPipeServer][Info   ] Version done in 00:00:00.
[17:44:50.970][Updater        ][Info   ] Checking for updates on channel Beta...
[17:44:50.971][Notifications  ][Info   ] Docker is starting...
[17:44:50.981][NamedPipeClient][Info   ] Sending Start(Docker.Core.Settings)...
[17:44:50.983][NamedPipeServer][Info   ] Start(Docker.Core.Settings)
[17:44:50.985][PowerMode      ][Info   ] Stop
[17:44:50.988][HyperV         ][Info   ] Stop
[17:44:50.995][PowerShell     ][Info   ] Run script with parameters: -Stop True...
[17:44:50.999][PowerShell     ][Info   ] Creating a Runspace Pool...
[17:44:51.373][Updater        ][Info   ] Local build 9324 is as good as the remote 9324 on channel Beta
[17:44:51.705][PowerShell     ][Info   ] Runspace Pool created (Min=1, Max=2)
[17:44:52.313][HyperV         ][Info   ] Script started at 17:44:52.274
[17:44:53.908][HyperV         ][Info   ] Module loaded at 17:44:53.908
[17:44:55.018][HyperV         ][Info   ] VM MobyLinuxVM does not exist
[17:44:55.023][HyperV         ][Debug  ] [stop] took 00:00:04.0339037 to run
[17:44:55.023][OptimizeDisk   ][Info   ] Optimize
[17:44:55.024][PowerShell     ][Info   ] Run script...
[17:44:55.860][Moby           ][Info   ] Stop
[17:44:55.866][HyperVGuids    ][Info   ] Installing GUIDs...
[17:44:55.866][PowerMode      ][Info   ] Start
[17:44:55.867][HyperV         ][Info   ] Create
[17:44:55.868][PowerShell     ][Info   ] Run script with parameters: -Create True -SwitchSubnetAddress 10.0.75.0 -SwitchSubnetMaskSize 24 -CPUs 2 -Memory 2048 -IsoFile C:\Program Files\Docker\Docker\Resources\mobylinux.iso...
[17:44:55.868][HyperVGuids    ][Info   ] GUIDs installed
[17:44:55.869][Firewall       ][Info   ] Opening ports for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe...
[17:44:55.876][HyperV         ][Info   ] Script started at 17:44:55.876
[17:44:55.887][HyperV         ][Info   ] Module loaded at 17:44:55.887
[17:44:57.189][Firewall       ][Info   ] Ports are opened
[17:44:57.729][HyperV         ][Info   ] Creating Switch: DockerNAT...
[17:44:57.961][SegmentApi     ][Info   ] Usage statistic: actionMenuAbout
[17:45:01.277][HyperV         ][Info   ] Switch created.
[17:45:01.768][HyperV         ][Info   ] Set IP address on switch
[17:45:04.550][HyperV         ][Info   ] Creating VM MobyLinuxVM...
[17:45:06.187][HyperV         ][Info   ] Setting CPUs to 2 and Memory to 2048 MB
[17:45:06.346][SegmentApi     ][Info   ] Usage statistic: actionMenuSettings
[17:45:08.564][Linux          ][Error  ] Failed to start: Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The computer 'REYNIERPM-DESKT' could not be resolved. Make sure you typed the machine name correctly and that you have network access.
at Get-Vhd-Root, <No file>: line 89
at New-MobyLinuxVM, <No file>: line 210
at <ScriptBlock>, <No file>: line 370. Let's retry
[17:45:08.565][PowerShell     ][Info   ] Run script...
[17:45:10.111][HyperV         ][Info   ] Hyper-V is running
[17:45:10.111][PowerMode      ][Info   ] Stop
[17:45:10.111][HyperV         ][Info   ] Stop
[17:45:10.112][PowerShell     ][Info   ] Run script with parameters: -Stop True...
[17:45:10.116][HyperV         ][Info   ] Script started at 17:45:10.116
[17:45:10.130][HyperV         ][Info   ] Module loaded at 17:45:10.130
[17:45:10.981][HyperV         ][Info   ] VM MobyLinuxVM is stopped
[17:45:10.981][HyperV         ][Debug  ] [stop] took 00:00:00.8695029 to run
[17:45:10.981][OptimizeDisk   ][Info   ] Optimize
[17:45:10.981][PowerShell     ][Info   ] Run script...
[17:45:12.051][Moby           ][Info   ] Stop
[17:45:12.057][HyperV         ][Info   ] Destroy
[17:45:12.057][PowerShell     ][Info   ] Run script with parameters: -Destroy True -KeepVolume True...
[17:45:12.061][HyperV         ][Info   ] Script started at 17:45:12.061
[17:45:12.073][HyperV         ][Info   ] Module loaded at 17:45:12.073
[17:45:12.911][HyperV         ][Info   ] VM MobyLinuxVM is stopped
[17:45:12.912][HyperV         ][Info   ] Destroying Switch DockerNAT...
[17:45:15.225][HyperV         ][Info   ] Removing VM MobyLinuxVM...
[17:45:16.114][HyperV         ][Debug  ] [destroy] took 00:00:04.0568162 to run
[17:45:16.114][Firewall       ][Info   ] Closing ports...
[17:45:16.680][Firewall       ][Info   ] Ports are closed
[17:45:16.680][HyperVGuids    ][Info   ] Removing GUIDs...
[17:45:16.681][HyperVGuids    ][Info   ] GUIDs removed
[17:45:16.681][HyperV         ][Info   ] Create
[17:45:16.681][PowerShell     ][Info   ] Run script with parameters: -Create True -SwitchSubnetAddress 10.0.75.0 -SwitchSubnetMaskSize 24 -CPUs 2 -Memory 2048 -IsoFile C:\Program Files\Docker\Docker\Resources\mobylinux.iso...
[17:45:16.685][HyperV         ][Info   ] Script started at 17:45:16.685
[17:45:16.693][HyperV         ][Info   ] Module loaded at 17:45:16.693
[17:45:18.381][HyperV         ][Info   ] Creating Switch: DockerNAT...
[17:45:21.704][HyperV         ][Info   ] Switch created.
[17:45:21.768][HyperV         ][Info   ] Set IP address on switch
[17:45:23.423][HyperV         ][Info   ] Creating VM MobyLinuxVM...
[17:45:24.720][HyperV         ][Info   ] Setting CPUs to 2 and Memory to 2048 MB
[17:45:26.459][HyperV         ][Info   ] Creating dynamic VHD: C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx
[17:45:28.715][PowerMode      ][Info   ] Stop
[17:45:28.715][HyperV         ][Info   ] Stop
[17:45:28.716][PowerShell     ][Info   ] Run script with parameters: -Stop True...
[17:45:28.719][HyperV         ][Info   ] Script started at 17:45:28.719
[17:45:28.734][HyperV         ][Info   ] Module loaded at 17:45:28.733
[17:45:29.582][HyperV         ][Info   ] VM MobyLinuxVM is stopped
[17:45:29.582][HyperV         ][Debug  ] [stop] took 00:00:00.8672659 to run
[17:45:29.582][OptimizeDisk   ][Info   ] Optimize
[17:45:29.582][PowerShell     ][Info   ] Run script...
[17:45:30.608][Moby           ][Info   ] Stop
[17:45:30.612][HyperV         ][Info   ] Destroy
[17:45:30.612][PowerShell     ][Info   ] Run script with parameters: -Destroy True -KeepVolume True...
[17:45:30.616][HyperV         ][Info   ] Script started at 17:45:30.616
[17:45:30.627][HyperV         ][Info   ] Module loaded at 17:45:30.627
[17:45:31.465][HyperV         ][Info   ] VM MobyLinuxVM is stopped
[17:45:31.466][HyperV         ][Info   ] Destroying Switch DockerNAT...
[17:45:33.754][HyperV         ][Info   ] Removing VM MobyLinuxVM...
[17:45:34.634][HyperV         ][Debug  ] [destroy] took 00:00:04.0221765 to run
[17:45:34.634][Firewall       ][Info   ] Closing ports...
[17:45:34.743][Firewall       ][Info   ] Ports are closed
[17:45:34.743][HyperVGuids    ][Info   ] Removing GUIDs...
[17:45:34.744][HyperVGuids    ][Info   ] GUIDs removed
[17:45:34.745][NamedPipeServer][Error  ] Unable to execute Start: Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The computer 'REYNIERPM-DESKT' could not be resolved. Make sure you typed the machine name correctly and that you have network access.
at New-MobyLinuxVM, <No file>: line 214
at <ScriptBlock>, <No file>: line 370    at Docker.Backend.HyperV.RunScript(String action, Dictionary`2 parameters)
   at Docker.Backend.ContainerEngine.Linux.Start(Settings settings)
   at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass8_0.<Register>b__0(Object[] parameters)
   at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters)
[17:45:34.974][NamedPipeClient][Error  ] Unable to send Start: Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The computer 'REYNIERPM-DESKT' could not be resolved. Make sure you typed the machine name correctly and that you have network access.
at New-MobyLinuxVM, <No file>: line 214
at <ScriptBlock>, <No file>: line 370
[17:45:34.975][Notifications  ][Error  ] Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The computer 'REYNIERPM-DESKT' could not be resolved. Make sure you typed the machine name correctly and that you have network access.
at New-MobyLinuxVM, <No file>: line 214
at <ScriptBlock>, <No file>: line 370
[17:45:34.982][CrashReport    ][Info   ] Preparing package to send with the diagnostics
[17:45:34.984][NamedPipeClient][Info   ] Sending DownloadVpnKitLogs(C:\Users\ReynierPM\AppData\Local\Temp\54i4ug3k.dxi\pcap.tar)...
[17:45:34.984][NamedPipeClient][Info   ] Sending DownloadVmLogs(C:\Users\ReynierPM\AppData\Local\Temp\54i4ug3k.dxi\mobyLogs.tar)...
[17:45:34.985][NamedPipeClient][Info   ] Sending GetDebugInfo()...
[17:45:34.984][NamedPipeServer][Info   ] DownloadVpnKitLogs(C:\Users\ReynierPM\AppData\Local\Temp\54i4ug3k.dxi\pcap.tar)
[17:45:34.984][NamedPipeServer][Info   ] DownloadVmLogs(C:\Users\ReynierPM\AppData\Local\Temp\54i4ug3k.dxi\mobyLogs.tar)
[17:45:34.985][NamedPipeServer][Info   ] GetDebugInfo()
[17:45:35.000][PowerShell     ][Info   ] Run script '(Get-VM MobyLinuxVM).Id.Guid'...
[17:45:35.829][NamedPipeClient][Info   ] Received response for DownloadVmLogs
[17:45:35.829][HyperV         ][Warning] Unable to download logs: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Hyper-V was unable to find a virtual machine with name "MobyLinuxVM".
[17:45:35.829][NamedPipeServer][Info   ] DownloadVmLogs done in 00:00:00.8449992.
[17:45:57.818][NamedPipeServer][Info   ] GetDebugInfo done in 00:00:22.8330044.
[17:45:57.819][NamedPipeClient][Info   ] Received response for GetDebugInfo
[17:51:43.502][FeedbackSettings][Info   ] Upload diagnostic
[17:51:43.503][CrashReport    ][Info   ] Preparing package to send with the diagnostics
[17:51:43.504][NamedPipeClient][Info   ] Sending DownloadVpnKitLogs(C:\Users\ReynierPM\AppData\Local\Temp\q1hkmx0c.w3b\pcap.tar)...
[17:51:43.504][NamedPipeClient][Info   ] Sending DownloadVmLogs(C:\Users\ReynierPM\AppData\Local\Temp\q1hkmx0c.w3b\mobyLogs.tar)...
[17:51:43.504][NamedPipeServer][Info   ] DownloadVpnKitLogs(C:\Users\ReynierPM\AppData\Local\Temp\q1hkmx0c.w3b\pcap.tar)
[17:51:43.504][NamedPipeServer][Info   ] DownloadVmLogs(C:\Users\ReynierPM\AppData\Local\Temp\q1hkmx0c.w3b\mobyLogs.tar)
[17:51:43.505][PowerShell     ][Info   ] Run script '(Get-VM MobyLinuxVM).Id.Guid'...
[17:51:44.338][NamedPipeClient][Info   ] Received response for DownloadVmLogs
[17:51:44.338][HyperV         ][Warning] Unable to download logs: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Hyper-V was unable to find a virtual machine with name "MobyLinuxVM".
[17:51:44.338][NamedPipeServer][Info   ] DownloadVmLogs done in 00:00:00.8340182.

Don't know if that helps.

@rn
Copy link
Contributor

rn commented Dec 14, 2016

Thanks. does the Upload Diagnostics not finish and print an ID?

@reypm
Copy link
Author

reypm commented Dec 14, 2016

@rneugeba nope, it doesn't finish

@rn
Copy link
Contributor

rn commented Dec 14, 2016

Hmm.

Somewhere in C:\Users\ReynierPM\AppData\Local\Temp, possibly in q1hkmx0c.w3b or in 54i4ug3k.dxi should be a bunch of files. Could you upload them there or email them to me at rolf.neugebauer@docker.com?

@rn
Copy link
Contributor

rn commented Dec 14, 2016

@dgageot @simonferquel any idea why the debug logs are not uploaded? There doesn't seem to be an obvious error

@reypm
Copy link
Author

reypm commented Dec 15, 2016

@rneugeba sure, that's all I have found

directories.zip

@rn
Copy link
Contributor

rn commented Dec 29, 2016

@reypm thanks for the log files.

I see sometime indication that the app used to work on 2016/12/12 00:00:20.850 and 2016/12/14 17:41:10.318 but failed in between on 2016/12/12 20:29:04.979 with:

[20:29:05.889][Linux          ][Error  ] Failed to start: Unable to stop: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The specified module 'Hyper-V' was not loaded because no valid module file was found in any module directory.
at <ScriptBlock>, <No file>: line 78. Let's retry

It also later failed on 2016/12/14 17:44:50.429 with:

[17:45:08.564][Linux          ][Error  ] Failed to start: Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The computer 'REYNIERPM-DESKT' could not be resolved. Make sure you typed the machine name correctly and that you have network access.
at Get-Vhd-Root, <No file>: line 89
at New-MobyLinuxVM, <No file>: line 210
at <ScriptBlock>, <No file>: line 370. Let's retry

and that is the last in the log.

I also see various VMware processes running as well as well as VMware network adapters, which seems to suggest that you also use VMware on the system. Unfortunately, Hyper-V, which is used by Docker for Windows, does not work with VMware running at the same time. Could you try un-installing VMware?

@reypm
Copy link
Author

reypm commented Dec 29, 2016

@rneugeba to be honest I don't know for sure what could be happening, you're right Vmware and Hyper-V doesn't like each other so in order to use Docker I had to disable Vmware which I did. After several tries meaning installing and uninstalling Docker, enabling/disabling Hyper-V I make it to work with the beta version.

I will try the latest Beta/RC and see if it's still working. Will let you know later today after I get into home

@rn
Copy link
Contributor

rn commented Dec 29, 2016

Thanks for getting back so quick and looking forward hearing back

@reypm
Copy link
Author

reypm commented Dec 30, 2016

@rneugeba I've installed Docker 1.13 RC34 and it didn't work either. Here is the message I got as soon as I try to start Docker:

Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The computer 'REYNIERPM-DESKT' could not be resolved. Make sure you typed the machine name correctly and that you have network access.
at Get-Vhd-Root, <No file>: line 93
at New-MobyLinuxVM, <No file>: line 214
at <ScriptBlock>, <No file>: line 374
   at Docker.Backend.HyperV.RunScript(String action, Dictionary`2 parameters)
   at Docker.Backend.ContainerEngine.Linux.Start(Settings settings)
   at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass8_0.<Register>b__0(Object[] parameters)
   at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters)

A crash report has been uploaded with the diagnostic ID: AAD16731-8612-4717-BB12-BA2A5ED94345/2016-12-29_19-21-19

I have Vmware installed but because I've enabled Hyper-V back I can not uninstall it. I will try to remove both and start from scratch.

@reypm
Copy link
Author

reypm commented Dec 30, 2016

After have both uninstalled and install 1.13 RC4 beta34 I am able to start successfully Docker using the 1.13 RC4 Beta 34. I'll close the issue and I'll reopen again if have the issue again. Thank you for the support

@reypm reypm closed this as completed Dec 30, 2016
@ekropotin
Copy link

I Faced the same issue with Docker Toolbox on Windows 7. Is any workaround avaliable?

@epineda
Copy link

epineda commented Jan 30, 2017

workaround that works for me in Windows 10: reinstall Docker Toolbox.

@reypm
Copy link
Author

reypm commented Jan 30, 2017

@ekropotin @epineda in the latest upgrades I've run I just open Hyper-V and then reset Docker through the GUI 2 or 3 times, that's enough at least for me, the cause not sure @rneugeba any advice here?

@t-fritsch
Copy link

I also get the exac same error message (pywintypes.error: (2, 'WaitNamedPipe', 'The system cannot find the file specified.') docker-compose returned -1) on windows 10 Home 64 when using Powershell or Cmder. I noticed that when using docker quickstart terminal everything is fine (docker-compose up runs without any error). Any idea on this ?

@rn
Copy link
Contributor

rn commented Feb 15, 2017

@tfritsch-km Docker for Windows does not work on Window10 Home...

@t-fritsch
Copy link

Sorry @rneugeba , I should have mentioned I use Docker Toolbox and not Docker for Windows (I thought that mentioning win10Home was clear enough, my fault). Anyway since I got the exact same error message, I thought that the docker quickstart terminal workaround could help here too (I came to this issue when googling for the error).

@rn
Copy link
Contributor

rn commented Feb 15, 2017

NP, it'd odd though because with toolbox there are no named pipes involved...

@friism
Copy link

friism commented Feb 15, 2017

@tfritsch-km if you're using Docker Toolbox, remember to run docker-machine env to get your shell configured so that Docker will use the VM created by docker-machine: https://docs.docker.com/machine/reference/env/

@t-fritsch
Copy link

Thank you @friism, using docker-machine env followed by the command suggested in the prompt (@FOR /f "tokens=*" %i IN ('docker-machine env') DO @%i) makes the 'WaitNamedPipe' error go away and docker-compose runs fine whatever shell I use (tested with Cmder) !

@docker-robott
Copy link
Collaborator

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 docker locked and limited conversation to collaborators Jun 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants