-
Notifications
You must be signed in to change notification settings - Fork 2k
Docker-machine cannot launch VboxManage without starting separate window #4548
Comments
|
I did some testing as per here;
|
|
I opened a ticket with Oracle but they say this is due to windows graphical and CLI commands not mixing and that VirtualBox should be invoked with the API rather than the CLI commands. See ticket at https://www.virtualbox.org/ticket/17916 |
|
I have the same exact issue on Windows 7. Your analysis is very clear and big help. I wonder if there is any work around or a projection for a fix. |
|
Is this a new phenomenon? I have been using Docker Toolbox for a few years with no problem, now just recently 17.06.2 stops working for precisely this reason. Windows update? |
|
Tried rolling back some recent Windows updates which didn't help. Booted in safe mode -- your Go test program works. Current suspect is a new virus scanner installed on my work system in the past few days...... |
|
@drnybble - your comment on the Virus Checker is interesting as recently I had Carbon Black forced on me.
|
|
Yup "Carbon Black" it is..... |
|
Where does this Carbon Black installation come from? Is it bundled with any of the Docker Toolbox or VirtualBox install? It was suspicious to me as well... Carbon Black was mysteriously installed 2 days ago and this docker-machine issue surface roughly around the same time. I've briefly looked at the Carbon Black logs (in Program Files/Confer) and they definitely seem to be monitoring any and all processes, including VBoxManage. In any case, I cannot uninstall Carbon Black through the 'standard way' (through Windows' "Uninstall a program"). I've also located 2 services that are running under the names "Cb Defense" and "Cb Defense WSC", both of which cannot be stopped for some privilege related reasons. |
|
Carbon Black was indeed the problem. I booted into safe mode, disabled the 2 services mentioned in my previous post (Cb Defense, Cb Defense WSC), then restarted my PC. Ran the same problematic command and was successful in creating the docker machine: $ docker-machine --debug create default You can see that now the STDOUT correctly displays the VBoxManage version number. |
|
You don't happen to work for a certain three letter company do you? |
|
I do... it seems like a company-wide roll out that installed CB into my system. |
|
My company used to be 3 letters ending in an S but recently changed name to 2 letters, ending in a V. I found out it isn't Carbon Black causing the issue on my system! The CB log files (confer.log) are very useful so I went looking through them. There is a BeyondTrust PowerBroker service so I stopped this and then both the vboxtest.exe and the docker-machine commands work... |
Using Win7 when trying to create a VM I receive error;
I've tried this use cmd, cmdr, ConEmu and Git bash prompts. This seems to be due to docker-machine or vboxmanage spawning new windows so stdout is not captured. However running the vboxmanage command manually from the same command line works everywhere except for Git-bash where a new window is always spawned;
The text was updated successfully, but these errors were encountered: