Windows 10 is displaying a VirtualBox Interface has active connections error message when shutting down after using Docker Quickstart Terminal on Virtual Box.

I tried to fix this by typing exit to close the terminal.

How can I smoothly close the terminal and get rid of the error message?

4

Best Answer


I came here because the title of this topic does not mention Docker. I had the same problem when using the application BlueStacks in Windows 10, without Docker. Windows did not shut down (or took a long time to do so) because 'VirtualBox still has active connections'. I'd like to share my solution here, using BlueStacks as just an example. I solved this by creating a task in task manager that runs a script on shutdown. The script kills the VirtualBox process, which is perfectly safe. Creating such a task is described here: https://superuser.com/questions/165142/using-task-scheduler-to-run-a-task-before-shutdownThe script for killing a process: wmic process where "name='BstkSVC.exe'" delete

Maybe this helps anyone who came here and is not using a container. Thanks.

Using the bellow commands should fix it:

docker-machine stopexit

I was also fed of this problem but finally got a solution.Just open the Task Manager then check for the Bluestacks Virtual Interface . Right click on it and click End Task.I'm assuming that this is the problem due to the Bluestacks installed on your computer.

oh!! thanksi found a easier method just put that text into notepad and convert it into cmd via save as and type the name of the file as ""please click on this before shutdown.cmd"" ("" are used to denote not in name