Docker causing VM's to fail - black screen - windows

Windows 10 N Pro, version 2004
I had a few different OS VM's setup before I decided to try Docker out.
After installing it and realizing I better stick to VM's I went on my Virtualbox, tried starting my old VM's and couldn't get past the boot screen - the issue is it goes to a black screen.
I created a few new VM's all resulting in the same issue. I tried restarting the machine, Windows Restore, trying different BIOS settings, uninstalling docker, reinstalling Virtualbox, increasing VRAM to 128MB, uninstalling subsystem for Linux, disabling the Hypervisor and sandboxing. The only thing that let me interact with the VM was enabling EFI - although after choosing "boot" option I had the same black screen.
After trying all possible solutions on SO and Google I stumbled upon a comment (which unfortunately I can't find) which pinpointed that Docker installer explicitly overwrites VM/Hypoer registries or processes. I don't know if that's the issue however it is the case.
How can I get my VM's running again without reinstalling Windows?

It sounds like the problem is: 1) You were successfully running VMs with VirtualBox on Windows 10 Pro, 2) You installed Docker, 3) Docker broke VBox. Correct?
Look here:
https://superuser.com/questions/1290051/virtualbox-no-longer-works-after-uninstalling-docker-on-windows-10.
Control Panel -> Programs and Features
On the left side choose "Turn Windows features on or off
Uncheck Hyper-V
reboot
After reboot you have to reinstall/repair your installation of VirtualBox with the original installer!
Reboot again and it should work 🙂
In general, please try posting these kinds of questions on https://serverfault.com or https://superuser.com. StackOverflow is for "programming" questions.

Related

Docker on Windows 10 Crashing

I'm on windows 10 and I'm encountering Docker on Windows crashing on startup.
I just installed docker on windows and have a couple of containers spinning up (last night). I've been able to use it but after reboot, or shutdown, this was the behaviour ever since. Pretty unstable.
It looks like this and terminates after a while without any prompt of an error.
More info that I have Hyper-V installed on my machine and "Use the WSL 2 based engine" option enabled on docker.
On my end, I was able to solve this by:
Going to Apps & Features
Search for Ubuntu (or any linux distro you've installed)
Click on it and navigate to Advance options
Click on Reset button.
Also, try to trial and error which docker on windows version is stable with your system.
Hope that helps.

ERR_CONNECTION_FAILED on Chrome/IE after 20 minutes of working when internet is still connected

Hoping this is the right place to ask this. I'm trying to learn React Native and I'm using Expo as my medium for deployment, but I'm finding that I'm literally getting 20 minutes at a time before my browser fails to connect with the error code ERR_CONNECTION_FAILED. I've tried the following:
netsh winsock reset, then the related ipconfig commands for flushing DNS settings
Clearing browser caches
Updating drivers
I'm at my wits end as the only thing that completely solves it is restarting my laptop, which for obvious reasons isn't feasible every 20 minutes, so I'm hoping somebody can help.
I'm experiencing the same issue with Expo in this environment:
Windows 10, version 1909 (OS build 18363.476)
using WSL (Windows Subsystem for Linux) with Ubuntu 18.04 LTS
These links were useful to learn why this is happening:
https://github.com/expo/expo-cli/issues/99
https://github.com/microsoft/WSL/issues/2913
https://github.com/microsoft/WSL/issues/3951
In essence, this issue seems to be due to a problem with WSL. Per a post in the first link, I tried the alternative to restarting the computer and it worked - it made the ERR_CONNECTION_FAILED problems disappear...for 20 minutes. That alternative is as follows:
WIN+R -> services.msc
Find LxssManager
Right-click -> Restart
This restarts the WSL service which also means that the WSL instance that was running gets terminated. This is less than ideal, but at least a computer restart is avoided. The third link says this WSL problem is fixed in Windows Insider Build 18890.
I am now considering spinning up a VM to run Ubuntu instead of trying to use WSL for Expo projects.
I uninstalled the latest Windows updates, and the problem has not surfaced since.

Hyper-V problems when wanting to run Docker from a macOS VM with VMWare Workstation 12 Player

I am currently attempting to run a macOS High Sierra VM on my Windows 10 laptop using VMWare Workstation 12 Player.
To make the VM work, it says I must disable Hyper-V - Upon disabling, the VM does indeed work.
However, when I want to run Docker on my macOSHS VM, it gives the error:
There is also a link to a page telling one how to work with Hyper-V and that it should be re-toggled to work, along with some CMD code that I can't seem to get to work...
When I turn off Hyper-V the VM starts as normal, but when I try to install/run Docker on there... I am greeted with:
Has anybody run into this problem before?
Follow this answer, basically you have to enable virtualization in the vmware settings in the processor tab.
https://serverfault.com/questions/841330/docker-on-mac-on-vmware/849836#849836

Cant start, repair ,install windows

I have a dell inspiron 5559 and i used to have a dual boot windows 10 and ubuntu 16.0.4.
After an update of windows 10 i got many problems like my graphic card driver didnt get auto-update and my cpu fan got some problem
After changing my fan windows would enter an automatic repair and before even starting it... it would jump into blue screen and enter a restart loop while my linux would work just fine
I tried installing or repairing windows but before the page for chosing language blue screen apears again and system jumps out of installation
I started a system diagnose and ram memmory test but there wasnt any error.
So i thought maybe its grub menu or linux's problem and i used rm rf root in ubuntu (that was a foolish mistake im really sad about this now) after that still i cant install or repair windows. and when i turn on my pc an error apears
//
Error: file '/boot/grub/i386-pc/normal.mod' not found.
Entering rescue mod...
Grub rescue>
//
I tried different windows dvd's for installation all had same problem. And i tried installing or trying ubuntu or kali live using an usb but various errors show up like bootmgr is missing or....
Can anyone help?
Sorry if my text had some english problems :)))
May be formatting the entire hard drive then install Windows or Ubuntu would work for you.

Virtualbox fails after ubuntu 11.10 to 12.04 LTS

Host machine was ported from 11.10 to 12.04 LTS (Xubuntu)
Virtualbox image is win7 x64
With upgrade /dev/vboxdrv was missing, so within synaptics I reinstalled:
virtualbox (4.1.12dsfg-2 not OSE)
virtualbox-qt 4.1.12dsfg
virtualbox-dkms 4.1.12dsfg
Then it works again but my windows is badly crashed. Once started and desktop icons pops out it's really slow and crash (network icon is also blocked)
I reinstalled guest additions, but does not make any difference.
Nothing is serious because I still have available snapshots.
I'm asking for advices, like for example how do I clean reinstall (clear parameters) vbox ?
Is there any workaround, or do I need to wait fresh 12.04LTS updates to fix this pbm by magic ?
I can confirm this bug on two of my Ubuntu 12.04 machines (i7 Desktop, Samsung Dual Core Laptop):
All my Windows (Win7, WinServer2003,WinServer 2008) 64bit guest machines which were working under Ubuntu 11.10 behave the same way after upgrading / reinstalling to Ubuntu Precise:
During guest bootup or shortly after bootup (sometimes I can even access the guest's desktop for a moment) the complete system host + guest freezes completly.
The Vbox.log doesnt contain any hint. Even a fresh install of Ubuntu Precise has the same error (with the same guest machines).
I have not found any combination of guest settings which prevents this freeze yet. Even using the OSE edition of Virtualbox 4.1.12-UbuntuR7724S has the same error.
The probably-related VirtualBox bug ticket says it is fixed in VirtualBox source, and also details a workaround via grub.
The Debian bug is here.
Hopefully the patch will be applied to Ubuntu-12.04 .
(This answer is also at: https://askubuntu.com/questions/130726/win-7-virtual-box-vm-fails-to-start-after-upgrade-to-12-04 )
I can't be sure that I was having the same problem, but I also just upgraded from ubuntu 11.10 to 12.04 and attempting to boot my virtual machine (xp 32bit) would cause the host to freeze.
The fix was to do the following:
Enable absolute pointing device (almost certainly wasnt this that fixed it but hey ho!)
Enable VT-x/AMD-V acceleration and nested paging (found under settings->System->Acceleration)
Disable video acceleration (again dont think it was this but I don't fancy fiddling now it works)
Hope this works for you too.

Resources