Giter Club home page Giter Club logo

Comments (75)

dsperling avatar dsperling commented on July 23, 2024 13

I was finally able to get the 'stable' release running on 1607 on a PC that had previous failures. Here are the steps I used.

  1. Download the Docker for Windows 'stable' installer
  2. Disconnect the PC from local networking
  3. Uninstall any previous Docker version and ensure no VM's are listed in the Hyper-V Manager
  4. Install Docker for Windows 'stable'
  5. The last step allows you to launch Docker. Keep the box checked.
    • Docker tray app fails to display its icon, no notifications occur
    • Open Hyper-V Manager and I did not see any VM's listed
    • Docker for Windows.exe is running and displayed in Task Manager
  6. Reboot
  7. Now I see the Docker notification and the tray icon.
  8. Docker welcome window appears and everything is functional.
  9. Reconnect to your local network

Notes:

  • No notices to reboot were displayed by the Installer.
  • Installing 'stable' on previous Windows versions never required a reboot on this PC.
  • Having the PC connected to my local network/Internet during install always results in a non-functioning Docker. Basically the system is in the same state as after step 5 above.

Update:

I have seen an install succeed with the PC connected to the network, although this is not reproducible.

  1. Install Docker 'stable'
  2. Reboot
  3. Wait 18 minutes
  4. Docker welcome screen appears

from for-win.

Morgy93 avatar Morgy93 commented on July 23, 2024 12

Same problem here.
I already posted mine here: moby/moby#25443
I'll just copy it over here:

Output of docker version:

Client:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:        Thu Jul 28 21:15:28 2016
 OS/Arch:      windows/amd64
Error response from daemon: The requested address is not valid in its context.

Additional environment details (AWS, VirtualBox, physical, etc.):

  • Docker for Windows latest (08/05/16 MM/TT/JJ) (there's no version info on the website, nor for the InstallDocker.msi)
  • Windows 10 Pro
  • version 1607
  • build 14393.10

Steps to reproduce the issue:
I don't know how to "reproduce", but all I did was to upgrade to the anniversary update and activated the Windows Subsystem for Linux (WSL) for Bash on Ubuntu on Windows
My docker worked just nice before~

Describe the results you received:
The VM doesn't start.

Describe the results you expected:
The VM does start / boot

Additional information you deem important (e.g. issue happens only occasionally):

Failed to start VM "MobyLinuxVM": Fehler beim Starten von "MobyLinuxVM".

Fehler beim Starten von "MobyLinuxVM" (ID des virtuellen Computers 5534CC75-8A5C-4BA7-82BC-EB315C4DAA77).

"MobyLinuxVM": Fehler beim Starten des Arbeitsprozesses: Der Prozess wurde unerwartet beendet. (0x8007042B) (ID des virtuellen Computers 5534CC75-8A5C-4BA7-82BC-EB315C4DAA77).
   bei Docker.Core.Pipe.NamedPipeClient.TrySend(String action, Object[] parameters)
   bei Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters)
   bei Docker.Core.Backend.BackendClient.Start(Settings settings)
   bei Docker.Actions.DoStart(Settings settings, Boolean showWelcomeWindow)
   bei Docker.Core.TaskQueue.<.ctor>b__16_0()

from for-win.

anusornc avatar anusornc commented on July 23, 2024 9

id = 5A0795B3-B950-4CC3-B296-F392FD31D7B2/2016-08-16_21-19-47

The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Hyper-V encountered an error trying to access an object on computer 'AJ' because the object was not found. The object might have been deleted, or you might not have permission to perform the task. Verify that the Virtual Machine Management service on the computer is running. If the service is running, try to perform the task again by using Run as Administrator.
at Docker.Core.Pipe.NamedPipeClient.TrySend(String action, Object[] parameters)
at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters)
at Docker.Core.Backend.BackendClient.Start(Settings settings)
at Docker.Actions.DoStart(Settings settings, Boolean showWelcomeWindow)
at Docker.Core.TaskQueue.<.ctor>b__16_0()

from for-win.

Maliek avatar Maliek commented on July 23, 2024 6

These steps got me further, it is similar to some steps previously mentioned.

  1. Download docker (stable)
  2. Uninstall docker
  3. disable hyper-v via the steps mentioned by @slpixe
  4. restart PC
  5. install docker, will notify you to enable hyper-v via a restart
  6. Restart happens automatically
  7. After reboot, it works fine 👌

from for-win.

burgoyn1 avatar burgoyn1 commented on July 23, 2024 5

I am having the same issue with a fresh install of docker and I am completely lost. I keep getting the following error. I have tried to re-install docker, remove everything, but nothing works.

Failed to start VM "MobyLinuxVM": 'MobyLinuxVM' failed to start.

'MobyLinuxVM' failed to initialize.

'MobyLinuxVM' failed to start. (Virtual machine ID 817661C8-62FA-4E75-9C79-79F4AF06CA50)

'MobyLinuxVM' failed to initialize. (Virtual machine ID 817661C8-62FA-4E75-9C79-79F4AF06CA50)
at Docker.Core.Pipe.NamedPipeClient.TrySend(String action, Object[] parameters)
at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters)
at Docker.Core.Backend.BackendClient.Start(Settings settings)
at Docker.Actions.<>c__DisplayClass26_0.b__0()
at Docker.Core.TaskQueue.<.ctor>b__16_0()

Attached are the log files. Anyone have any idea because I am lost. Below are the versions I am running:

PS C:\Users\Steven> docker --version
Docker version 1.12.0, build 8eab29e
PS C:\Users\Steven> docker-compose --version
docker-compose version 1.8.0, build d988a55
PS C:\Users\Steven> docker-machine --version
docker-machine.exe version 0.8.0, build b85aac1
PS C:\Users\Steven> docker version
Client:
Version: 1.12.0
API version: 1.24
Go version: go1.6.3
Git commit: 8eab29e
Built: Thu Jul 28 21:15:28 2016
OS/Arch: windows/amd64
Error response from daemon: An invalid argument was supplied
PS C:\Users\Steven> [System.Environment]::OSVersion.Version

Major Minor Build Revision


10 0 10586 0

from for-win.

chrismark avatar chrismark commented on July 23, 2024 5

Experienced something similar, Docker won't start. Luckily I only had to restart Docker thru Settings > Reset > Restart Docker.. and that made it work.

from for-win.

eino-makitalo avatar eino-makitalo commented on July 23, 2024 2

I fixed my problem with hyper-v console and choosing MobyLinuxVM and right mouse click to update settings to newest. Then it gave warning that it is not running with older version of Hyper-V but after that. I managed to start Docker again. Situation before: I updated my Windows 10 to newest version and docker for windows hangs in situation ..."Starting ". Before update I killed all docker and Hyper-V processes ( I do not know if its realy needed)

from for-win.

chen-xin avatar chen-xin commented on July 23, 2024 2

Hi, I fixed my problem as following:

  1. Open Hyper-V manager, delete all the "MobyLinuxVM' inside;
  2. From the docker gui select "Reset/Restart Docker", and everything is OK, with all my images and containers.

Windows: 10.0.14393
Docker: version 1.12.0, build 8eab29e

from for-win.

marrik96 avatar marrik96 commented on July 23, 2024 2

Stopping and starting the "Hyper-V Virtual Machine Management" service fixed the issue for me. Running version 17.03.1

from for-win.

rn avatar rn commented on July 23, 2024 1

For those who still experience this issue, could you try un-installing and then install the latest Beta (Beta23) from here: https://download.docker.com/win/beta/InstallDocker.msi

We made some significant changes to the way the VM is created/started but also improved the diagnostics so it would be useful for us to know if this issue is resolved.
Thanks
Rolf

from for-win.

rn avatar rn commented on July 23, 2024 1

@tomgeorge thanks for the report. Could you provide the diagnostics id? Thanks

from for-win.

friism avatar friism commented on July 23, 2024 1

@londoncalling it might be worth adding this COMODO thing to the FAQ: https://forums.comodo.com/bug-reports-cis/comodo-firewall-began-conflict-with-hyperv-t116351.0.html

from for-win.

oparoz avatar oparoz commented on July 23, 2024 1

The statement in the documentation is no longer true. The Comodo firewall no longer has issues with Hyper-V.

from for-win.

gabrielbarceloscn avatar gabrielbarceloscn commented on July 23, 2024 1

I was running on Windows 10 (inside a Parallels VM . MacOs)
Then reading this link:
https://docs.docker.com/docker-for-windows/troubleshoot/#hyper-v

I realized that virtualization wasn't enabled on windows vm.
Changing some Parallels options and bingo. It's working again. Nice!!!

from for-win.

londoncalling avatar londoncalling commented on July 23, 2024 1

@gabrielrb thanks, it's really nice to hear that the docs helped 🙂

from for-win.

dsperling avatar dsperling commented on July 23, 2024

I am see a similar issue with the Anniversary update (version 1607). Here is my docker version output.

docker version
Client:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:        Thu Jul 28 21:15:28 2016
 OS/Arch:      windows/amd64
An error occurred trying to connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version: open //./pipe/docker_engine: The system cannot find the file specified.

from for-win.

Morgy93 avatar Morgy93 commented on July 23, 2024

I also upgraded the configuration from 7.0 to 8.0 (whatever that means), but no change.
After I removed the VM manually, it gets the 8.0 automatically, but still the same error occurs.
I cannot start the VM within the Hyper-V either:
unbenannt
It basically just states that it failed to start and that the process exited unexpectedly.

from for-win.

shairez avatar shairez commented on July 23, 2024

I reverted back from the windows 10 anniversary update and now it works again.

So it might be a temporary solution for you too, until they'll sort it out.

from for-win.

rn avatar rn commented on July 23, 2024

In general, several of us run the anniversary update (including WSL) and we do test releases on it as well and we haven't seen any issues. So we are curious to get to the bottom of this.

@Morgy93 when you say "Upgraded configuration from 7.0 to 8.0" what do you mean?

from for-win.

friism avatar friism commented on July 23, 2024

image

@rneugeba I suspect it's the Hyper-V VM configuration version

from for-win.

Morgy93 avatar Morgy93 commented on July 23, 2024

@rneugeba Yeah, that what @friism said. 😁

from for-win.

PetaPetaPeta avatar PetaPetaPeta commented on July 23, 2024

I seem to have some of the same issues. Should #28 and this be merged into one?

from for-win.

dsperling avatar dsperling commented on July 23, 2024

@PetaPetaPeta I agree that the issue I am seeing matches #28. However the original issue that @sdevane reported is a different issue in MobyLinuxVM:

'MobyLinuxVM' failed to start worker process: The process terminated unexpectedly.

So I suggest we keep #28 for the issue we are seeing and #27 reflects @sdevane original issue.

from for-win.

Morgy93 avatar Morgy93 commented on July 23, 2024

I guess I tried almost everything possible related to network stuff.
But I can even remove the network switch and network adapter within the VM and it fails to start with the same error as before.
So I'd assume that it's not directly an issue with the network stuff for the VM to fail booting.

Even though I reported thousands of crash reports already, here's the latest one: EF5CEE54-6553-4655-A810-98A1549E5A7D/2016-08-09_19-30-33

from for-win.

Morgy93 avatar Morgy93 commented on July 23, 2024

There seem to be other people out there who are having the same issue, probably using some whole different VM: https://social.technet.microsoft.com/Forums/en-US/a539273e-d80e-4dcb-993a-5b1dd0935728/vm-not-starting?forum=virtualserver
So maybe this has nothing to do with docker at all?!

from for-win.

Morgy93 avatar Morgy93 commented on July 23, 2024

I'm sure now. I tried the HoloLens emulator and Windows Phone emulator from Visual Studio 2015 (I used the Windows Phone emulator before and it always worked fine) and both VM fail to start with the same error as the docker VM.

So I'm creating a new thread over here: https://social.technet.microsoft.com/Forums/windows/en-US/home?forum=win10itprovirt

EDIT: https://social.technet.microsoft.com/Forums/windows/en-US/2df51b2d-18d3-463e-8fe5-3517bfb2950f/vm-failed-to-start-worker-process-the-process-terminated-unexpectedly?forum=win10itprovirt

from for-win.

PetaPetaPeta avatar PetaPetaPeta commented on July 23, 2024

Temporary fix proposed here(#28 (comment)) is a working workaround for me.

from for-win.

tomgeorge avatar tomgeorge commented on July 23, 2024

I have a similar issue.

PS C:\Users\Tom> docker version

Client:
 Version:      1.12.1-rc1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   7889dc7
 Built:        Fri Aug 12 18:35:53 2016
 OS/Arch:      windows/amd64
 Experimental: true
An error occurred trying to connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version: open //./pipe/docker_engin
e: The system cannot find the file specified.

Logs for a restart:

[01:29:36.934][Notifications  ][Info   ] Docker is restarting...
[01:29:36.968][NamedPipeClient][Info   ] Sending Stop()...
[01:29:36.997][NamedPipeServer][Info   ] Stop()
[01:29:37.024][HyperV         ][Info   ] Stop
[01:29:37.049][PowerShell     ][Info   ] Run script with parameters: -Stop True...
[01:29:38.149][HyperV         ][Info   ] VM MobyLinuxVM is stopped
[01:29:38.176][VpnKit         ][Info   ] Killing existing com.docker.slirp with PID 8444
[01:29:38.205][DataKit        ][Info   ] Killing existing com.docker.db with PID 3640
[01:29:38.237][NamedPipeServer][Info   ] Stop done.
[01:29:38.262][NamedPipeClient][Info   ] Received response for Stop
[01:29:38.313][NamedPipeClient][Info   ] Sending Start(Docker.Core.Settings)...
[01:29:38.350][NamedPipeServer][Info   ] Start(Docker.Core.Settings)
[01:29:38.379][HyperVGuids    ][Info   ] Installing GUIDs...
[01:29:38.406][HyperVGuids    ][Info   ] GUIDs installed
[01:29:38.433][Firewall       ][Info   ] Opening ports for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe...
[01:29:40.742][Firewall       ][Info   ] Ports are opened
[01:29:40.768][HyperV         ][Info   ] Create
[01:29:40.794][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...
[01:29:41.526][HyperV         ][Info   ] Using existing Switch: DockerNAT
[01:29:43.456][HyperV         ][Info   ] Using existing Switch IP address
[01:29:43.492][HyperV         ][Info   ] Using existing: MobyLinuxVM (state = Off)
[01:29:43.955][HyperV         ][Info   ] Setting MobyLinuxVM vm CPUs to 2 and Memory to 2048 MB
[01:29:43.986][DataKit        ][Info   ] Starting...
[01:29:44.021][PowerShell     ][Info   ] Run script...
[01:29:44.109][DataKit        ][Info   ] Started
[01:29:44.159][VpnKit         ][Info   ] Starting...
[01:29:44.225][PowerShell     ][Info   ] Run script...
[01:29:44.312][VpnKit         ][Info   ] Started
[01:29:44.384][Database       ][Info   ] Writing com.docker.driver.amd64-linux/net/config=static
[01:29:44.445][Database       ][Info   ] Writing com.docker.driver.amd64-linux/net/address=10.0.75.2
[01:29:44.482][Database       ][Info   ] Writing com.docker.driver.amd64-linux/net/netmask=255.255.255.0
[01:29:44.517][Database       ][Info   ] Writing com.docker.driver.amd64-linux/net/gateway=10.0.75.1
[01:29:44.575][Database       ][Info   ] Writing com.docker.driver.amd64-linux/etc/resolv.conf=nameserver 10.0.75.1
[01:29:44.610][Database       ][Info   ] Writing com.docker.driver.amd64-linux/network=hybrid
[01:29:44.656][Database       ][Info   ] Writing com.docker.driver.amd64-linux/etc/docker/daemon.json={"registry-mirrors":[],"insecure-registries":[],"debug":false}
[01:29:44.711][Database       ][Info   ] Writing com.docker.driver.amd64-linux/etc/sysctl.conf=
[01:29:44.746][Database       ][Info   ] Writing com.docker.driver.amd64-linux/native/port-forwarding=true
[01:29:44.828][DataKit        ][Info   ] 
[01:29:44.843][DataKit        ][Info   ] +7036us    Datakit  Starting com.docker.db.exe 09081b4 ...
[01:29:45.032][VpnKit         ][Info   ] com.docker.slirp.exe: Logging to stdout (stdout:true DEBUG:false)
[01:29:45.046][VpnKit         ][Info   ] com.docker.slirp.exe: Setting handler to ignore all SIGPIPE signals
[01:29:45.052][VpnKit         ][Info   ] com.docker.slirp.exe: vpnkit version %VERSION% with hostnet version local %HOSTNET_PINNED% uwt version 0.0.3 hvsock version 0.10.0 %HVSOCK_PINNED%
[01:29:45.059][VpnKit         ][Info   ] com.docker.slirp.exe: starting port_forwarding port_control_url:hyperv-connect://e63516d7-4e39-4a2c-880e-f9bfb390ef19 max_connections:None vsock_path:
[01:29:45.066][VpnKit         ][Info   ] com.docker.slirp.exe: connecting to e63516d7-4e39-4a2c-880e-f9bfb390ef19:0B95756A-9985-48AD-9470-78E060895BE7
[01:29:45.075][VpnKit         ][Debug  ] com.docker.slirp.exe: Waiting for connections on socket hyperv-connect://e63516d7-4e39-4a2c-880e-f9bfb390ef19
[01:29:45.081][VpnKit         ][Warning] com.docker.slirp.exe: no database: using hardcoded network configuration values
[01:29:45.090][VpnKit         ][Info   ] com.docker.slirp.exe: connecting to e63516d7-4e39-4a2c-880e-f9bfb390ef19:30D48B34-7D27-4B0B-AAAF-BBBED334DD59
[01:29:45.096][VpnKit         ][Debug  ] com.docker.slirp.exe: Waiting for connections on socket hyperv-connect://e63516d7-4e39-4a2c-880e-f9bfb390ef19
[01:29:46.342][DataKit        ][Info   ] 
[01:29:46.353][DataKit        ][Info   ] +1521241us       fs9p [ERROR] dispatcher caught Unix.Unix_error(Unix.EPIPE, "bytes_read", ""): no more requests will be handled
[01:29:46.343][Database       ][Info   ] Successfully wrote 9 value(s)
[01:29:46.367][HyperV         ][Info   ] Start
[01:29:46.377][PowerShell     ][Info   ] Run script with parameters: -Start True...
[01:29:46.431][HyperV         ][Info   ] Starting VM MobyLinuxVM...
[01:29:49.996][HyperV         ][Info   ] Hyper-V is running
[01:29:50.001][HyperV         ][Info   ] Create
[01:29:50.005][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...
[01:29:50.564][HyperV         ][Info   ] Using existing Switch: DockerNAT
[01:29:50.656][HyperV         ][Info   ] Using existing Switch IP address
[01:29:50.777][HyperV         ][Info   ] Using existing: MobyLinuxVM (state = Off)
[01:29:51.205][HyperV         ][Info   ] Setting MobyLinuxVM vm CPUs to 2 and Memory to 2048 MB
[01:29:51.217][HyperV         ][Info   ] Stop
[01:29:51.224][PowerShell     ][Info   ] Run script with parameters: -Stop True...
[01:29:51.382][HyperV         ][Info   ] VM MobyLinuxVM is stopped
[01:29:51.392][VpnKit         ][Info   ] Killing existing com.docker.slirp with PID 10728
[01:29:51.409][DataKit        ][Info   ] Killing existing com.docker.db with PID 3916
[01:29:51.446][HyperVGuids    ][Info   ] Installing GUIDs...
[01:29:51.451][HyperVGuids    ][Info   ] GUIDs installed
[01:29:51.457][Firewall       ][Info   ] Opening ports for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe...
[01:29:54.295][Firewall       ][Info   ] Ports are opened
[01:29:54.307][HyperV         ][Info   ] Create
[01:29:54.316][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...
[01:29:54.523][HyperV         ][Info   ] Using existing Switch: DockerNAT
[01:29:54.673][HyperV         ][Info   ] Using existing Switch IP address
[01:29:54.737][HyperV         ][Info   ] Using existing: MobyLinuxVM (state = Off)
[01:29:54.804][HyperV         ][Info   ] Setting MobyLinuxVM vm CPUs to 2 and Memory to 2048 MB
[01:29:54.818][DataKit        ][Info   ] Starting...
[01:29:54.826][PowerShell     ][Info   ] Run script...
[01:29:54.880][DataKit        ][Info   ] Started
[01:29:54.902][VpnKit         ][Info   ] Starting...
[01:29:54.915][PowerShell     ][Info   ] Run script...
[01:29:55.011][VpnKit         ][Info   ] Started
[01:29:55.022][Database       ][Info   ] Writing com.docker.driver.amd64-linux/net/config=static
[01:29:55.041][Database       ][Info   ] Writing com.docker.driver.amd64-linux/net/address=10.0.75.2
[01:29:55.072][Database       ][Info   ] Writing com.docker.driver.amd64-linux/net/netmask=255.255.255.0
[01:29:55.089][Database       ][Info   ] Writing com.docker.driver.amd64-linux/net/gateway=10.0.75.1
[01:29:55.098][Database       ][Info   ] Writing com.docker.driver.amd64-linux/etc/resolv.conf=nameserver 10.0.75.1
[01:29:55.107][Database       ][Info   ] Writing com.docker.driver.amd64-linux/network=hybrid
[01:29:55.113][Database       ][Info   ] Writing com.docker.driver.amd64-linux/etc/docker/daemon.json={"registry-mirrors":[],"insecure-registries":[],"debug":false}
[01:29:55.123][Database       ][Info   ] Writing com.docker.driver.amd64-linux/etc/sysctl.conf=
[01:29:55.132][Database       ][Info   ] Writing com.docker.driver.amd64-linux/native/port-forwarding=true
[01:29:55.504][DataKit        ][Info   ] 
[01:29:55.516][DataKit        ][Info   ] +14689us    Datakit  Starting com.docker.db.exe 09081b4 ...
[01:29:55.577][VpnKit         ][Info   ] com.docker.slirp.exe: Logging to stdout (stdout:true DEBUG:false)
[01:29:55.584][VpnKit         ][Info   ] com.docker.slirp.exe: Setting handler to ignore all SIGPIPE signals
[01:29:55.594][VpnKit         ][Info   ] com.docker.slirp.exe: vpnkit version %VERSION% with hostnet version local %HOSTNET_PINNED% uwt version 0.0.3 hvsock version 0.10.0 %HVSOCK_PINNED%
[01:29:55.600][VpnKit         ][Info   ] com.docker.slirp.exe: starting port_forwarding port_control_url:hyperv-connect://e63516d7-4e39-4a2c-880e-f9bfb390ef19 max_connections:None vsock_path:
[01:29:55.607][VpnKit         ][Info   ] com.docker.slirp.exe: connecting to e63516d7-4e39-4a2c-880e-f9bfb390ef19:0B95756A-9985-48AD-9470-78E060895BE7
[01:29:55.613][VpnKit         ][Debug  ] com.docker.slirp.exe: Waiting for connections on socket hyperv-connect://e63516d7-4e39-4a2c-880e-f9bfb390ef19
[01:29:55.618][VpnKit         ][Warning] com.docker.slirp.exe: no database: using hardcoded network configuration values
[01:29:55.624][VpnKit         ][Info   ] com.docker.slirp.exe: connecting to e63516d7-4e39-4a2c-880e-f9bfb390ef19:30D48B34-7D27-4B0B-AAAF-BBBED334DD59
[01:29:55.630][VpnKit         ][Debug  ] com.docker.slirp.exe: Waiting for connections on socket hyperv-connect://e63516d7-4e39-4a2c-880e-f9bfb390ef19
[01:29:56.864][Database       ][Info   ] Successfully wrote 9 value(s)
[01:29:56.869][HyperV         ][Info   ] Start
[01:29:56.875][PowerShell     ][Info   ] Run script with parameters: -Start True...
[01:29:56.873][DataKit        ][Info   ] 
[01:29:56.889][DataKit        ][Info   ] +1384240us       fs9p [ERROR] dispatcher caught Unix.Unix_error(Unix.EPIPE, "bytes_read", ""): no more requests will be handled
[01:29:56.923][HyperV         ][Info   ] Starting VM MobyLinuxVM...
[01:29:57.581][NamedPipeServer][Error  ] Unable to execute Start: Unable to start: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: 'MobyLinuxVM' failed to start. (Virtual machine ID E63516D7-4E39-4A2C-880E-F9BFB390EF19)

'MobyLinuxVM' failed to start worker process: The process terminated unexpectedly. (0x8007042B). (Virtual machine ID E63516D7-4E39-4A2C-880E-F9BFB390EF19)
at Start-MobyLinuxVM, <No file>: line 228
at <ScriptBlock>, <No file>: line 322    at Docker.Backend.HyperV.RunScript(String action, Dictionary`2 parameters)
   at Docker.Backend.LinuxContainersEngine.DoStart(Settings settings)
   at Docker.Backend.LinuxContainersEngine.Start(Settings settings)
   at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass7_0.<Register>b__0(Object[] parameters)
   at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters)
[01:29:57.747][NamedPipeClient][Error  ] Unable to send Start: Unable to start: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: 'MobyLinuxVM' failed to start. (Virtual machine ID E63516D7-4E39-4A2C-880E-F9BFB390EF19)

'MobyLinuxVM' failed to start worker process: The process terminated unexpectedly. (0x8007042B). (Virtual machine ID E63516D7-4E39-4A2C-880E-F9BFB390EF19)
at Start-MobyLinuxVM, <No file>: line 228
at <ScriptBlock>, <No file>: line 322
[01:29:57.885][Notifications  ][Error  ] Unable to start: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: 'MobyLinuxVM' failed to start. (Virtual machine ID E63516D7-4E39-4A2C-880E-F9BFB390EF19)

'MobyLinuxVM' failed to start worker process: The process terminated unexpectedly. (0x8007042B). (Virtual machine ID E63516D7-4E39-4A2C-880E-F9BFB390EF19)

And trying to start it in hyper-v manager:
hyperv

from for-win.

tomgeorge avatar tomgeorge commented on July 23, 2024

@rneugeba do you mean the crash report id? if so, one you can reference is:

8e3a687d-9c88-4adc-8572-2630686aad6b

Also, I have a few more pieces of info for you. Here's my current docker version (I have tried stable and beta):

dockerversion

And looking through the event viewer in windows, I see a couple of things that might be of interest:

One Critical Error from source Hyper-V-VMMS, Event ID 15350, with the description "The virtualization infrastructure driver (VID) is not running."

One Critical Error from source Hyper-V-VMMS, Event ID 14096, with the description "Virtual Machine Management service failed to start."

And for each attempt to start docker, the following events:

Event ID 15130, 'MobyLinuxVM' failed to start. (Virtual machine ID )

Event ID 15500 'MobyLinuxVM' failed to start worker process: The process terminated unexpectedly. (0x8007042B). (Virtual machine ID )'

VirtualBox and an OLD version of docker toolbox was installed on my computer when I enabled Hyper-V and installed docker for windows.

from for-win.

burgoyn1 avatar burgoyn1 commented on July 23, 2024

Mine also still does not start running the new beta. I also reset docker to default settings and still nothing.

Unable to start: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: 'MobyLinuxVM' failed to start.

'MobyLinuxVM' failed to initialize.

'MobyLinuxVM' failed to start. (Virtual machine ID A15CBE3A-E9CA-4A19-84AA-DD833A837518)

'MobyLinuxVM' failed to initialize. (Virtual machine ID A15CBE3A-E9CA-4A19-84AA-DD833A837518)
at Start-MobyLinuxVM, <No file>: line 228
at <ScriptBlock>, <No file>: line 322
   at Docker.Backend.HyperV.RunScript(String action, Dictionary`2 parameters)
   at Docker.Backend.LinuxContainersEngine.DoStart(Settings settings)
   at Docker.Backend.LinuxContainersEngine.Start(Settings settings)
   at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass7_0.<Register>b__0(Object[] parameters)
   at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters)

Diagnostic ID - 29B832CD-87FF-4E78-9985-50BAB90BABD7/2016-08-20_08-44-06

from for-win.

Morgy93 avatar Morgy93 commented on July 23, 2024

@rneugeba
This whole issue is not related to docker.
There are several other people around who are facing the exact same issue while not beeing related to docker at all.
Have a look at: https://social.technet.microsoft.com/Forums/windows/en-US/2df51b2d-18d3-463e-8fe5-3517bfb2950f/vm-failed-to-start-worker-process-the-process-terminated-unexpectedly?forum=win10itprovirt

We obviously need to wait for a solution from Microsoft.

from for-win.

Morgy93 avatar Morgy93 commented on July 23, 2024

I can't believe it - I found a solution to this.

I was using "COMODO Internet Security Pro" as my 3rd party firewall, anti virus, sandbox and whatsoever program - after I removed it completely and rebooted my pc, all of my Hyper-V VM are working again - including docker of course.
I also reported this here so we'll see if this is the case for other users as well using third party firewall, av, sandbox, etc. software.

Finally I can benefit from the new "Bash on Ubuntu on Windows" terminal in addition to Docker for Windows. ("Full" Linux experience on Windows, yay :D)

from for-win.

Morgy93 avatar Morgy93 commented on July 23, 2024

Fun thing .. it's already reported on the official COMODO forums and they're aware of it: https://forums.comodo.com/bug-reports-cis/comodo-firewall-began-conflict-with-hyperv-t116351.0.html

from for-win.

tomgeorge avatar tomgeorge commented on July 23, 2024

@Morgy93 @rneugeba I can confirm that removing COMODO and restarting fixed my issue. I had to also set the DNS servers in the docker settings window to be fixed at 8.8.8.8. Woo!!

Tom@Home MINGW64 /
$ docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
c04b14da8d14: Pulling fs layer
c04b14da8d14: Verifying Checksum
c04b14da8d14: Download complete
c04b14da8d14: Pull complete
Digest: sha256:0256e8a36e2070f7bf2d0b0763dbabdd67798512411de4cdcf9431a1feb60fd9
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker Hub account:
 https://hub.docker.com

For more examples and ideas, visit:
 https://docs.docker.com/engine/userguide/

from for-win.

rn avatar rn commented on July 23, 2024

Glad to hear that this issue is fixed for some of you.
As for the others:

  • @sdevane could you try Beta24 from the link below and can you check if you have COMODO as removing this seemed to have fixed the issue for others
  • @myfriend12 and @anusornc could you try Beta 24 from the link below and if you still have the issue, please create a new issue as your issue is different from the others

Beta24 can be downloaded from here: https://download.docker.com/win/beta/InstallDocker.msi

Thanks

from for-win.

juhams avatar juhams commented on July 23, 2024

docker 4win 1.20.1 beta24 did not start after installation.
Checked with hyperv manager and mobylinuxvm could not be started because the virtual disk was completely missing.
I created the disk manually and rebooted. --> docker 1.20.1 beta 24 running with win 10 build 14393.105

from for-win.

Morgy93 avatar Morgy93 commented on July 23, 2024

@friism @londoncalling It might not just be limited to Comodo:

Hi,

I was having the exact same issue and have found that this problem is not limited to just COMODO software but, most of the 3rd party anti virus and firewall providers. It would seem that Microsoft have a problem and didn't do adequate testing prior to the Anniversary release as, if it was just one provider then you could blame the provider but not 6 that i have tested.

by SuperCoach91
https://social.technet.microsoft.com/Forums/windows/en-US/2df51b2d-18d3-463e-8fe5-3517bfb2950f/vm-failed-to-start-worker-process-the-process-terminated-unexpectedly?forum=win10itprovirt

from for-win.

rn avatar rn commented on July 23, 2024

@chen-xin thanks for reporting. Did this happen after you updated to 10.0.14393, ie did you have an installation of Docker for Windows before the windows upgrade?

@juhams thanks for reporting and glad it's working for you. I'm curious as to why the virtual disk wasn't there in the first place....but this might just be one of these things which might be hard to reproduce.

from for-win.

londoncalling avatar londoncalling commented on July 23, 2024

@Morgy93 thanks for providing more info on this. @friism @rneugeba I'll further update the FAQ and troubleshooting to clarify that this issue extends to many applications. (The first pass on this in the docs, w/focus on Comodo, is here. I'll update it today: https://docs.docker.com/docker-for-windows/troubleshoot/#/docker-fails-to-start-when-comodo-firewall-is-installed and https://docs.docker.com/docker-for-windows/faqs/#/why-does-docker-for-windows-fail-to-start-when-the-comodo-firewall-is-installed.)

from for-win.

sdevane avatar sdevane commented on July 23, 2024

Yes. Comodo was the problem for me too.

On 6 September 2016 at 18:49, Victoria Bialas [email protected]
wrote:

@Morgy93 https://github.com/Morgy93 thanks for providing more info on
this. @friism https://github.com/friism @rneugeba
https://github.com/rneugeba I'll further update the FAQ and
troubleshooting to clarify that this issue extends to many applications.
(The first pass on this in the docs, w/focus on Comodo, is here. I'll
update it today: https://docs.docker.com/docker-for-windows/
troubleshoot/#/docker-fails-to-start-when-comodo-firewall-is-installed
and https://docs.docker.com/docker-for-windows/faqs/#/why-
does-docker-for-windows-fail-to-start-when-the-comodo-
firewall-is-installed.)


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#27 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AO4w-CqfN0FTvOINoLz2M2T8Sbw5FA41ks5qnaewgaJpZM4Jd7N3
.

Best regards

Stephen Devane

from for-win.

jlengrand avatar jlengrand commented on July 23, 2024

Hi there,

I have been trying all of the suggestions above for hours without success so far.

MY diagnostic id is : 6D065BF0-47D5-4CEA-B931-BD18015F5257/2016-09-07_23-39-03

Reinstalling, Using the beta 23, deleting the MobyLinuxVM, disabling/reenabling network adapters, nothing has worked so far.
My MobyLinuxVM stays in a starting state and will not move from it whatever I do. This in turn blocks Docker .

Hyper-V screenshot

Is there anything obvious someone can see in the logs that I might have missed? I had Docker working fine for long, until I decided to install the anniversary update . . .

I think the most relevant part of the log is here :

[23:38:35.990][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...
[23:38:36.303][HyperV ][Info ] Using existing Switch: DockerNAT
[23:38:36.457][HyperV ][Info ] Using existing Switch IP address
[23:38:36.485][HyperV ][Info ] Using existing: MobyLinuxVM (state = Off)
[23:38:37.649][HyperV ][Info ] Hyper-V is running
[23:38:37.650][HyperV ][Info ] Create
[23:38:37.650][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...
[23:38:37.720][HyperV ][Info ] Using existing Switch: DockerNAT
[23:38:37.752][HyperV ][Info ] Using existing Switch IP address
[23:38:37.768][HyperV ][Info ] Using existing: MobyLinuxVM (state = Off)
[23:38:37.779][NamedPipeServer][Error ] Unable to execute Start: Unable to create: Modifying the properties of the device 'Memory' failed.

The operation cannot be performed while the object is in its current state.
at , : line 332 at Docker.Backend.HyperV.RunScript(String action, Dictionary`2 parameters)
at Docker.Backend.ContainerEngine.Linux.Start(Settings settings)
at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass7_0.b__0(Object[] parameters)
at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters)
[23:38:37.780][NamedPipeClient][Error ] Unable to send Start: Unable to create: Modifying the properties of the device 'Memory' failed.

Thanks

EDIT : I have been able to finally get Docker running by removing the "KPN VeiligheidsPakket" that we run at the office (A security tool that among other things includes Mcafee). I thought about it when I was able to reproduce the issue on my colleague's computer as well.
Just to be sure, I installed Docker with my Ethernet cable plugged out, not sure it helped.

So it looks like the issue is not only related to Comodo.

from for-win.

sdevane avatar sdevane commented on July 23, 2024

On 8 September 2016 at 14:09, julien Lengrand-Lambert <
[email protected]> wrote:

MobyLinuxVM refuses to start

check that the Windows firewall is ON. and that the HyperVM ferature is
enabled... also that Comodo firewall or AV is not installed - as we
discovered issues with it and Docker.

Best regards

Stephen Devane

from for-win.

jlengrand avatar jlengrand commented on July 23, 2024

Thanks @sdevane for the answer. As written above, the issue was solved by uninstalling a security package, but one that was not on the list yet :).

Cheers

from for-win.

ljfolino avatar ljfolino commented on July 23, 2024

To add some more detail I was able to work around COMODO by adding c:\windows\system32\vmwp.exe to the "Detect shellcode injection" exclusion in the HIPS Settings. This got Hyper-V working and vagrant, but docker is still throwing the same errors as stated above.

from for-win.

rn avatar rn commented on July 23, 2024

can we close this issue?

from for-win.

londoncalling avatar londoncalling commented on July 23, 2024

@rneugeba well it is now very meticulously documented, and I don't know that there is any development side work that can be done ... it sounds like it's a Windows OS compatibility problem. Seems like you could close it.

from for-win.

rn avatar rn commented on July 23, 2024

closing. please re-open if the problem persists and not covered by the docs.

from for-win.

londoncalling avatar londoncalling commented on July 23, 2024

@oparoz ,thanks I will update the docs on the next go-round

from for-win.

peijie avatar peijie commented on July 23, 2024

I have same issue after upgrade to windows 10 anniversary version. The MobyLinuxVM is not created. The following is the error message:

Unable to create: Hyper-V encountered an error trying to access an object on computer 'HOME-NOTEBOOK' because the object was not found. The object might have been deleted. Verify that the Virtual Machine Management service on the computer is running.
at , : line 340
at Docker.Core.Pipe.NamedPipeClient.TrySend(String action, Object[] parameters)
at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters)
at Docker.Core.Backend.BackendClient.Start(Settings settings)
at Docker.Actions.DoStart(Settings settings, Boolean showWelcomeWindow)
at Docker.Actions.<>c__DisplayClass13_0.b__0()
at Docker.Core.TaskQueue.<>c__DisplayClass18_0.<.ctor>b__1()

from for-win.

peijie avatar peijie commented on July 23, 2024

i fixed the issue by restarting the docker service and start docker desktop again

from for-win.

damtur avatar damtur commented on July 23, 2024

I have exact same problem with docker Version: 1.12.3 (8488) Channel: Stable

Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Hyper-V encountered an error trying to access an object on computer 'DTURCZYNSKI15L' because the object was not found. The object might have been deleted, or you might not have permission to perform the task. Verify that the Virtual Machine Management service on the computer is running. If the service is running, try to perform the task again by using Run as Administrator.
at New-MobyLinuxVM, <No file>: line 242
at <ScriptBlock>, <No file>: line 362
   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)

Log:

Version: 1.12.3 (8488)
Channel: Stable
Sha1: d63ec34a49019d2e0b29d7706e57ccfc721ddb8f
Started on: 2016/11/17 11:50:32.094
Resources: C:\Program Files\Docker\Docker\Resources
OS: Windows 10 Enterprise
Edition: Enterprise
Id: 1607
Build: 14393
BuildLabName: 14393.447.amd64fre.rs1_release_inmarket.161102-0100
You can send feedback, including this log file, at https://github.com/docker/for-win/issues
[11:50:32.063][Tracking       ][Info   ] Crash report and usage statistics are enabled
[11:50:32.110][SegmentApi     ][Info   ] Usage statistic: appLaunched
[11:50:32.141][NamedPipeClient][Info   ] Sending Version()...
[11:50:32.141][NamedPipeClient][Info   ] Received response for Version
[11:50:32.141][SegmentApi     ][Info   ] Usage statistic: heartbeat
[11:50:12.889][BackendServer  ][Info   ] Started
[11:50:12.889][Moby           ][Info   ] Connecting...
[11:50:32.141][NamedPipeServer][Info   ] Version()
[11:50:32.141][NamedPipeServer][Info   ] Version done.
[11:50:32.326][Notifications  ][Info   ] Docker is starting...
[11:50:32.326][Updater        ][Info   ] Checking for updates on channel Stable...
[11:50:32.342][NamedPipeClient][Info   ] Sending Start(Docker.Core.Settings)...
[11:50:32.342][NamedPipeServer][Info   ] Start(Docker.Core.Settings)
[11:50:32.342][HyperVGuids    ][Info   ] Installing GUIDs...
[11:50:32.342][HyperVGuids    ][Info   ] GUIDs installed
[11:50:32.342][Firewall       ][Info   ] Opening ports for C:\Program Files\Docker\Docker\Resources\com.docker.proxy.exe...
[11:50:32.459][Updater        ][Info   ] Local build 8488 is as good as the remote 8488 on channel Stable
[11:50:43.584][SegmentApi     ][Info   ] Usage statistic: actionMenuSettings
[11:51:40.800][Firewall       ][Info   ] Ports are opened
[11:51:40.802][HyperV         ][Info   ] Create
[11:51:40.807][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...
[11:51:42.581][HyperV         ][Info   ] Creating Switch: DockerNAT...
[11:51:43.793][HyperV         ][Info   ] Switch created.
[11:51:44.352][HyperV         ][Info   ] Set IP address on switch
[11:51:45.517][HyperV         ][Info   ] Creating VM MobyLinuxVM...
[11:51:46.623][HyperV         ][Info   ] Setting CPUs to 2 and Memory to 2048 MB
[11:51:46.879][HyperV         ][Info   ] Creating dynamic VHD: C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx
[11:51:47.971][HyperV         ][Info   ] Attach VHD C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx
[11:51:48.413][HyperV         ][Info   ] Connect Internal Switch DockerNAT
[11:51:48.616][HyperV         ][Info   ] Attach DVD C:\Program Files\Docker\Docker\Resources\mobylinux.iso
[11:51:49.070][PowerShell     ][Info   ] Run script 'Import-Module Dism; Get-WindowsOptionalFeature -Online | where FeatureName -like "*Hyper-V*" | where State -ne Enabled'...
[11:51:50.541][HyperV         ][Info   ] Hyper-V is running
[11:51:50.543][HyperV         ][Info   ] Create
[11:51:50.544][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...
[11:51:50.833][HyperV         ][Info   ] Using existing Switch: DockerNAT
[11:51:50.896][HyperV         ][Info   ] Using existing Switch IP address
[11:51:50.921][HyperV         ][Info   ] Setting CPUs to 2 and Memory to 2048 MB
[11:51:51.037][HyperV         ][Info   ] Connect Internal Switch DockerNAT
[11:51:51.121][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: Hyper-V encountered an error trying to access an object on computer 'DTURCZYNSKI15L' because the object was not found. The object might have been deleted, or you might not have permission to perform the task. Verify that the Virtual Machine Management service on the computer is running. If the service is running, try to perform the task again by using Run as Administrator.
at New-MobyLinuxVM, <No file>: line 242
at <ScriptBlock>, <No file>: line 362    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)
[11:51:51.181][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: Hyper-V encountered an error trying to access an object on computer 'DTURCZYNSKI15L' because the object was not found. The object might have been deleted, or you might not have permission to perform the task. Verify that the Virtual Machine Management service on the computer is running. If the service is running, try to perform the task again by using Run as Administrator.
at New-MobyLinuxVM, <No file>: line 242
at <ScriptBlock>, <No file>: line 362
[11:51:51.183][Notifications  ][Error  ] Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Hyper-V encountered an error trying to access an object on computer 'DTURCZYNSKI15L' because the object was not found. The object might have been deleted, or you might not have permission to perform the task. Verify that the Virtual Machine Management service on the computer is running. If the service is running, try to perform the task again by using Run as Administrator.
at New-MobyLinuxVM, <No file>: line 242
at <ScriptBlock>, <No file>: line 362
[11:52:01.753][ErrorReportWindow][Info   ] Open logs

I've tried:

  • restarting computer
  • removing MobyLinuxVM
  • restoring factory defaults
  • reinstalling Docker
  • installing beta version of Docker (Version: 1.12.3-beta30.1 (8711))

Please help :)

from for-win.

Morgy93 avatar Morgy93 commented on July 23, 2024

@damtur Actually that's not the exact same problem we all encountered here.
There seems to be something wrong with your Hyper-V - did you try to reinstall Hyper-V?
Or tried the installation with administrator privileges?

By the way .. you should open up another issue for that one.

from for-win.

damtur avatar damtur commented on July 23, 2024

After weekend and doing nothing it started to work.
By nothing I mean:

  1. uninstalling docker for windows
  2. Turning off Hyper-V
  3. installing docker-toolbox
  4. working with docker-toolbox
  5. doing nothing for 2 days
  6. Turning on Hyper-V again
  7. Installing docker for windows

...
p.s. I've trying re-enabling Hyper-V before so I'm like ¯_(ツ)_/¯

from for-win.

rn avatar rn commented on July 23, 2024

@damtur glad it works for you now! Unfortunately the switch between Virtual Box (used by toolbox) and Hyper-V (used by Docker for Windows) is nowhere near as smooth as we'd like. But unfortunately, there is fairly little we can do about this.

from for-win.

antonio-petricca avatar antonio-petricca commented on July 23, 2024

I get this error

Unable to create: Il comando in esecuzione è stato interrotto perché la variabile di preferenza "ErrorActionPreference" o il parametro comune è impostato su Stop: Impossibile modificare le proprietà del dispositivo 'Memoria'.

Impossibile eseguire l'operazione mentre l'oggetto è nello stato corrente.
in New-MobyLinuxVM, : riga 204
in , : riga 362
in Docker.Backend.HyperV.RunScript(String action, Dictionary`2 parameters)
in Docker.Backend.ContainerEngine.Linux.Start(Settings settings)
in Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass8_0.b__0(Object[] parameters)
in Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters)

from for-win.

rn avatar rn commented on July 23, 2024

@DareDevil73 according to goole translate this means: "The command being executed was stopped because the preference variable "ErrorActionPreference" or the common parameter is set to Stop: Can not change device properties 'Memory'."

so this seems a different to the error reported here. Could you create a new issue with details, ideally with a diagnostics ID.

from for-win.

tupadr3 avatar tupadr3 commented on July 23, 2024

In case it helps:
I have Hyper-V configured to store the VHD's on "D:" and the windows 10 anniversary update magically made "D:" disappear. Docker failed to start with the message:

Unable to create: Der ausgeführte Befehl wurde beendet, da die Einstellungsvariable "ErrorActionPreference" oder ein allgemeiner Parameter auf "Stop" festgelegt ist: Fehler beim Erstellen eines neuen virtuellen Computers.

After "D:" was restored everything worked again.

from for-win.

jasonwzs avatar jasonwzs commented on July 23, 2024

@damtur I encountered exactly same problem as what you encountered. I am using the same build and the errors in the log file is same.
The docker for windows was working fine before I tried to run minikube on my machine. I start minikube with hyper-v driver without creating a new external switch in hyper-v, so it uses the internal DockerNAT switch and since then the docker stopped running. After docker is stopped running, I tried to do following things but it still doesn't work

  1. create an external switch
  2. remove minikube VM
  3. restart docker
  4. uninstall and reinstall docker
  5. turn off hyper-v
  6. uninstall and reinstall docker again
  7. find a broker Hyper-V virtual network adapter, uninstall it
  8. turn off hyper-v
  9. uninstall and reinstall docker again

@rneugeba After I uninstalled docker in last step I double checked docker installation folder is deleted, the MobiLinuxVM is removed, the vEthernet adapter is removed and the DockerNAT is also removed. It looks like everything related to docker goes back to the state before I install it for the first time. Why it is still failing when connecting to the internal DockerNAT switch? Is there anything else I can try?

from for-win.

slpixe avatar slpixe commented on July 23, 2024

I hope this helps some people, as I've just had the issue, I've resolved my Docker not being able to load up reporting that virtualisation wasn't enabled (even though it was showing on the task manager).

By turning off the "Hyper-V" service from "Windows Features", restarting, then enabling it again:
image

It might have been an issue since the anniversary update

from for-win.

londoncalling avatar londoncalling commented on July 23, 2024

@rneugeba @friism please see @slpixe 's comment on what worked. It's essentially a reboot of Hyper-V service. Is this worth adding to the docs?

from for-win.

webernir avatar webernir commented on July 23, 2024

got it working after:

  • uninstalling Docker / Toolbox
  • uninstalling VirtualBox
  • Disable Hyper-V via features (as @slpixe mentioned)
  • Restart
  • Enable Hyper-V
  • Installing Docker for #windows

from for-win.

avluis avatar avluis commented on July 23, 2024

Tried just about everything mentioned here -- this is after updating to Windows 10 v.1703 (16170.100)

Here is the current log:

Unable to start: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: 'MobyLinuxVM' failed to start.

Microsoft VmBus (Instance ID D41A1872-3740-41CE-A1EE-4522AB82F991): Failed to Power on with Error 'The system cannot find the path specified.'.

'MobyLinuxVM' failed to start. (Virtual machine ID D2BB503E-DDA4-4B53-9D7F-AA266F6E0DC9)

'MobyLinuxVM' Microsoft VmBus (Instance ID D41A1872-3740-41CE-A1EE-4522AB82F991): Failed to Power on with Error 'The system cannot find the path specified.' (0x80070003). (Virtual machine ID D2BB503E-DDA4-4B53-9D7F-AA266F6E0DC9)
at Start-MobyLinuxVM, <No file>: line 287
at <ScriptBlock>, <No file>: line 382
   at Docker.Backend.ContainerEngine.Linux.DoStart(Settings settings)
   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)

The disk for this VM was saved on D:\Docker -- permissions have not changed nor has Windows changed any drive assignments during the update.

Install was working fine before the update so I'm looking at what changed between updates.

Edit:

Finally got it working:

  • Uninstall Docker
  • Uninstall VirtualBox
  • Disable Hyper-V via features (as @slpixe mentioned)
  • Restart
  • Move Hyper-V VHD to an alternative location (I had mine in D:\Docker, so moved it to D:\)
  • Enable Hyper-V
  • Restart
  • Install Docker for Windows

After that I reapplied my settings -- I didn't restore the VHD to its original since I will not need it for development (I also have a local registry that caches what I need).

from for-win.

londoncalling avatar londoncalling commented on July 23, 2024

@friism @rneugeba can you take a look at this thread, especially final comment from @avluis, who did get it working but look at the steps. Is there something I can do re: docs to help with this at all?

from for-win.

londoncalling avatar londoncalling commented on July 23, 2024

@gabrielrb @Maliek I'll have another look at the docs and see if I can use your experience here to clarify some of this. Thanks for following up on this thread.

from for-win.

pori avatar pori commented on July 23, 2024

Had this is issue too. A really simple fix was disabling Docker for Windows on startup. Starting it manually seems to give Hyper-V enough time to do it's thing and sync with Docker. Hope this helps any vagrants from Google!

from for-win.

CaCTuCaTu4ECKuu avatar CaCTuCaTu4ECKuu commented on July 23, 2024

Windows 10 Pro 1703 b15063.674 File is missing error
Fix by creating VHD and Virtual Machines folders written in Hyper-V Settings
image

from for-win.

cascarr avatar cascarr commented on July 23, 2024

Please how do I solve this?

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 , : line 79
at Docker.Backend.HyperV.RunScript(String action, Dictionary`2 parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\HyperV.cs:line 177
at Docker.Backend.ContainerEngine.Linux.DoStop() in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 279
at Docker.Backend.ContainerEngine.Linux.Start(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 122
at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.b__0(Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 47
at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 145

from for-win.

ximura avatar ximura commented on July 23, 2024

Docker for Windows: Version 17.09.0-ce-win33 (13620)

Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Creating the virtual machine failed.
at New-MobyLinuxVM, : line 201
at , : line 385
at Docker.Backend.HyperV.RunScript(String action, Dictionary`2 parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\HyperV.cs:line 177
at Docker.Backend.ContainerEngine.Linux.Start(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 123
at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.b__0(Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 47
at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 145

from for-win.

djadeja avatar djadeja commented on July 23, 2024

I had similar issue when I installed Docker CE for Windows Version 17.11.0-ce-rc4-win39 (14244) Channel: edge e557194 on Windows 10.

In Command/cmd windows, when I tried to run commands docker ps, docker version, docker info, the I got error like “error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.34/version” every time.

To resolved this issue,

  1. I made “Hyper-V” off (Unchecked) from “Turn Windows feature on or off”, which required the OS to be restarted.
  2. And after first restart, I made “Hyper-V” On (Checked), which again required the OS to be restarted.

After second restart, above docker commands started working and giving proper output.

So, turning Hyper-V off and then on resolved this issue for me.

from for-win.

mobiius avatar mobiius commented on July 23, 2024

Just thought I'd add my own crash log. (Since I keep having this issue.)

Unable to start: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: 'MobyLinuxVM' failed to start. (Virtual machine ID 195AC639-88F1-4379-87D1-332FF73A1A21)

'MobyLinuxVM' failed to start worker process: %%3228369022 (0xC06D007E). (Virtual machine ID 195AC639-88F1-4379-87D1-332FF73A1A21)
at Start-MobyLinuxVM, : line 291
at , : line 386
at Docker.Backend.ContainerEngine.Linux.DoStart(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 245
at Docker.Backend.ContainerEngine.Linux.Restart(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 181
at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.b__0(Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 47
at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 145

Windows version is:

Windows 10
Version 1709 (OS Build 16299.125)

It's my work machine so I cant mess about with turning off AV solutions and what not. It was working fine up until Wednesday. (I did upgrade windows on Tuesday.)

from for-win.

mikethomas-ftdi avatar mikethomas-ftdi commented on July 23, 2024

Hey all, this frustrating error plagued me for three days. I attempted everything that I read above and nothing worked. For me it finally came to windows updates. I needed to have my windows FULLY updated. When you open the "Check for Updates" control panel, make sure you click "Check online for updates from Microsoft Update". My local policies are set in such a way that this is not done normally, and so the "Your device is up to date." message was misleading for me as I needed to install a major Windows update. For the record, I am fully up to date with Window 10 Enterprise, Version 1709, OS Build 16299.192.

After I updated everything. I reset Hyper V via the steps mentioned by @slpixe. Then did a fresh install of the latest stable build of Docker for Windows and all was well!!! Be sure to restart manually after installing Docker, so the the commands show up in your shell windows.

Hopefully, this helps someone!!!

from for-win.

gavinmclelland avatar gavinmclelland commented on July 23, 2024

The process cannot access the file 'C:\Program Files\Docker\Docker\resources\mobylinux.iso' because it is being used by another process.

Installed Docker for Windows via Lando on a fresh installation of Windows 10 Pro, Version 1709, OS build 16299.192.

Initial installation seemed successful. Dockers auto upgrade to latest version gave me the error above. I was able to fix the issue by Launching Hyper-V Manager to Shut down the MobyLinuxVM. I relaunched the Docker installer and the issue was resolved.

Cheers!

from for-win.

horros avatar horros commented on July 23, 2024

Just thought I'd chip in, I have problems with Docker starting on Windows 10 in bootcamp on a MacBook Pro maybe once a week or two weeks. Turns out the Mac does something strange and at some point starts telling Windows that it does not in fact support any form of virtualisation, which naturally causes Hyper-V to barf. A quick visit to MacOS and a reboot, and it works again.

I spent a fair few hours trying to figure this out before 2+2=5 and I connected the dots.

from for-win.

sandeepamilineni avatar sandeepamilineni commented on July 23, 2024

#5010 Docker startup issue. Didnt have this issue previously.

from for-win.

docker-robott avatar docker-robott commented on July 23, 2024

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

from for-win.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.