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

Docker won't start on win10 1803 #1927

Closed
zersiax opened this issue Apr 8, 2018 · 23 comments
Closed

Docker won't start on win10 1803 #1927

zersiax opened this issue Apr 8, 2018 · 23 comments

Comments

@zersiax
Copy link

zersiax commented Apr 8, 2018

  • [x ] I have tried with the latest version of my channel (Stable or Edge)
  • [x ] I have submitted Diagnostics
  • [x ] I have included the Diagnostics ID in this Issue
  • Windows Version: Windows 10 1803
  • Docker for Windows Version: 18.03

Expected behavior

Docker daemon starts normally

Actual behavior

Docker attempts to start, but crashes with the error described in attached log file.

Information

Diagnostics ID: 7307E659-4128-4582-AE1B-B34005A9990E/2018-04-08_14-26-28
Windows version: Windows 10 1803, build 17133.1

Steps to reproduce the behavior

  1. Upgrade windows 10 1803 from home to professional using a product key.
  2. Reboot.
  3. Install Docker for Windows, either Stable or Edge give the same results.
  4. Restart again.
  5. Docker tries to start, but errors.
  6. switch to Windows Containers. This works fine.
  7. Switch back to Linux containers. This errors in a similar way to just trying to start, resulting in you getting stuck on Windows Containers.
  8. Uninstall Docker for Windows, remove %appdata%\locale and \roaming Docker folders, as well as userdir.docker.
  9. Disable both HyperV and Containers from the "Turn Windows Features on and off" dialog.
  10. Reboot, re-enable them. Reboot again.
  11. In an elevated powershell command, run commands to enable hyperv and containers with the -all switch just for some added certainty.
  12. Reinstall Docker.
  13. Reboot.
  14. Docker starts, once again in Linux Container mode ....and fails.
  15. Pull hair out in frustration, grab your nearest container of strong liquor and give up.

I need this to work for my job, is there anyone over here who can see why this isn't working as advertised? I know very little about Docker and even less about HyperV, so I don't really have the know-how to debug this any further and I've already spent half my sunday on this to not have to spend hours doing this when I'm trying to actually get work done.
docker_log.txt

@PascalKu
Copy link

PascalKu commented Apr 8, 2018

Same issue here.

@nalpr
Copy link

nalpr commented Apr 10, 2018

1- I removed docker, disabled hyper-v , removed dockerNat adapter.
2- restarted windows .
3- reinstalled docker
4- enabled hyper-v. restarted windows

solved
I hope the best for you, been in same situation after update.

@ioagadmin
Copy link

I am about to update to v1803, is that 100% broken cause with Docker?

@jenslaufer
Copy link

Could not get docker working with v1803...downgraded to v1709

@Drumstix42
Copy link

Drumstix42 commented May 21, 2018

Can confirm, this is a problem with upgrading to 1803. However, not all setups seem to run into the issue.

I followed @nalpr 's instructions exactly, and it got me back up and running. Thanks!

Edit Side note, I'm using version 17.12.0-ce-win47 because the latest version gives problems with a project. Haven't tested latest version 18 and upgraded Windows from v1709 to v1803. I'm not able to test this scenario.

@r3dius
Copy link

r3dius commented Jun 4, 2018

@nalpr , thank you for this instructions. It deblocked my situation but can be embarassing when we have many packages to download.:/....

@nalpr
Copy link

nalpr commented Jun 5, 2018

@r3dius @Drumstix42 this happened again after another update.

I deleted all the hyper-v network adapters in device manager. solved the problem. without restarting or anything.

@ctgarvey
Copy link

I can get the basic plain vanilla microsoft/iis image to spin up as a docker (18.03.01) windows container in Windows 10 enterprise 1803 but cannot access it via a mapped port on the host. Netstat -a reports the port state as SYN_SENT . ie no response from the server. I can access it on port 80. Theres something broken re the networking. I can see the website only if i use the original http TCP 80 port, and not the mapped port (8000, as per the example) .Any suggestions on how to fix the broken port mapping? appreciated :-)

@pessimism
Copy link

pessimism commented Aug 2, 2018

Removing all Hyper-V Network adapters also worked for me without a restart. Thank you @nalpr

@pessimism
Copy link

.. spoke too soon. still only linux containers

@pessimism
Copy link

@nalpr s 4 step fix worked for me. though when removing one of my hyper-v virtual switches i also encountered this obstacle removing it https://superuser.com/questions/1192492/how-to-remove-a-hyper-v-virtual-ethernet-switch the solution there fixed that issue

@jycr
Copy link

jycr commented Sep 18, 2018

We faced a similar problem with Windows 10 (build 1803) :

image

Échec de l’accès au magasin de configuration : Impossible de trouver un fournisseur de prise en charge de disque virtuel pour le fichier spécifié. (0xC03A0014).
à New-MobyLinuxVM, <Aucun fichier> : ligne 187
à <ScriptBlock>, <Aucun fichier> : ligne 394
   à Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters) dans C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeClient.cs:ligne 36
   à Docker.Actions.DoStart(SynchronizationContext syncCtx, Boolean showWelcomeWindow, Boolean executeAfterStartCleanup) dans C:\gopath\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:ligne 77
   à Docker.Actions.<>c__DisplayClass16_0.<Start>b__0() dans C:\gopath\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:ligne 61
   à Docker.WPF.TaskQueue.<>c__DisplayClass19_0.<.ctor>b__1() dans C:\gopath\src\github.com\docker\pinata\win\src\Docker.WPF\TaskQueue.cs:ligne 59

After diagnosing the Windows 10 environment, we noticed a problem with a driver called Microsoft_VHD_ISO_VHBA_01:
image

image

After updating the driver and restarting Docker, everything seems to be fixed.

@AnthonyCoughlin
Copy link

Hey All,

Not sure if this is related, but I ran into a similar issue where Docker-Machine would not load and deleting the Virtualbox adapter from the device manager fixed the issue.

Thanks for the help,
AnthonyC

@SetTrend
Copy link

SetTrend commented Dec 21, 2018

Same issue here.

Today I set-up a fresh Windows 10x64 1809 VM, installed Docker for Windows (latest, of course) and can't get the Linux container up running:

can t start linux container

Switching to Windows containers works flawlessly, but switching back to the Linux container doesn't work.

Here's an excerpt of the Docker for Windows log:

[03:57:54.940][HyperV         ][Info   ] Remove existing DVDs
[03:57:55.191][HyperV         ][Info   ] Attach DVD C:\Program Files\Docker\Docker\Resources\docker-for-win.iso
[03:57:55.315][HyperV         ][Info   ] Attach Config ISO C:\ProgramData\DockerDesktop\tmp-d4w\config.iso
[03:57:56.011][HyperV         ][Info   ] Attach Docker ISO C:\Program Files\Docker\Docker\Resources\docker.iso
[03:57:57.535][HyperV         ][Debug  ] [start] took 00:00:03.1105924 to run
[03:57:58.452][Moby           ][Info   ] Connected
[03:57:58.468][Moby           ][Info   ] [    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[03:57:58.483][Moby           ][Info   ] [    0.000000] setup_percpu: NR_CPUS:128 nr_cpumask_bits:128 nr_cpu_ids:128 nr_node_ids:1
[03:57:58.497][Moby           ][Info   ] [    0.000000] percpu: Embedded 36 pages/cpu @ffff8821fac00000 s107096 r8192 d32168 u262144
[03:57:58.497][Moby           ][Info   ] [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 514505
[03:57:58.528][Moby           ][Info   ] [    0.000000] Kernel command line: BOOT_IMAGE=/boot/kernel console=ttyS0 page_poison=1 vsyscall=emulate panic=1 root=/dev/sr0 text
[03:57:58.544][Moby           ][Info   ] [    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[03:57:58.560][Moby           ][Info   ] [    0.000000] log_buf_len total cpu_extra contributions: 520192 bytes
[03:57:58.560][Moby           ][Info   ] [    0.000000] log_buf_len min size: 131072 bytes
[03:57:58.575][Moby           ][Info   ] [    0.000000] log_buf_len: 1048576 bytes
[03:57:58.575][Moby           ][Info   ] [    0.000000] early log buf free: 122996(93%)
[03:57:58.591][Moby           ][Info   ] [    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[03:57:58.607][Moby           ][Info   ] [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[03:57:58.622][Moby           ][Info   ] [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[03:57:58.638][Moby           ][Info   ] [    0.000000] Memory: 2008100K/2096168K available (8113K kernel code, 1393K rwdata, 2708K rodata, 1404K init, 564K bss, 88068K reserved, 0K cma-reserved)
[03:57:58.653][Moby           ][Info   ] [    0.000000] Kernel/User page tables isolation: enabled
[03:57:58.653][Moby           ][Info   ] [    0.000000] Hierarchical RCU implementation.
[03:57:58.670][Moby           ][Info   ] [    0.000000] 	Build-time adjustment of leaf fanout to 64.
[03:57:58.684][Moby           ][Info   ] [    0.000000] Using NULL legacy PIC
[03:57:58.700][Moby           ][Info   ] [    0.000000] NR_IRQS:8448 nr_irqs:1448 0
[03:57:58.700][Moby           ][Info   ] [    0.000000] Console: colour dummy device 80x25
[03:57:58.716][Moby           ][Info   ] [    0.000000] console [ttyS0] enabled
[03:57:58.731][Moby           ][Info   ] [    0.000000] allocated 4194304 bytes of page_ext
[03:57:58.747][Moby           ][Info   ] [    0.000000] tsc: Unable to calibrate against PIT
[03:57:58.747][Moby           ][Info   ] [    0.000000] tsc: HPET/PMTIMER calibration failed
[03:59:58.826][NamedPipeClient][Error  ] Unable to send Start: No activity detected on VM, aborting

I can't even access the Linux VM using Hyper-V Manager directly:

can t start linux container

The error message displayed by Hyper-V Manager is: "Video Remoting was disconnected".

Probably a duplicate of #267.

@docker-robott
Copy link
Collaborator

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale

@SetTrend
Copy link

/remove-lifecycle stale

@docker-robott
Copy link
Collaborator

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale

@SetTrend
Copy link

/remove-lifecycle stale

@docker-robott
Copy link
Collaborator

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale

@jbjhjm
Copy link

jbjhjm commented May 19, 2020

/remove-lifecycle stale

@jbjhjm
Copy link

jbjhjm commented May 19, 2020

/lifecycle frozen

@jbjhjm
Copy link

jbjhjm commented May 19, 2020

Problem still exists. Trying to reinstall Docker Desktop 2.3.0.2 because it crashed and reset to factory settings failed, too.
Uninstall has frozen. Reinstall fails as docker.iso / docker-desktop.iso cannot be deleted. Tried everything above, disabled hyper-v and its networks and devices. No success.
I'm now going to test to remove the files in safe mode.
ANNOYING, I must say.
Seeing dozens of issue threads open for years (or auto-closed) the docker team should really take action :/

Edit:
For anyone looking for help, these are the steps that worked for me:

@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 27, 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