Error when using Docker or other OS frequently with Vagrant Stderr: VBoxManage.exe: error: Failed

Environment Windows10 Pro 64bit Oracle VM VirtualBox6.1

Building Docker with Vagrant or building other OS causes network failure. Since it was in the past, I will leave it as a memo.

There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "aae238ff-e315-4213-9a5b-b94825bc0997", "--type", "headless"]

Stderr: VBoxManage.exe: error: Failed to open/create the internal network 'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #2' (VERR_INTNET_FLT_IF_NOT_FOUND).
VBoxManage.exe: error: Failed to attach the network LUN (VERR_INTNET_FLT_IF_NOT_FOUND)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

I'm running Docker on Ubuntu with Vagrant, so When I try to run CentOS separately with Vagrant, the above error occurs ... Refer to Hi Wa Mata Noborikaesu

Control Panel> Network and Internet> Network and Sharing Center> Check adapter settings. Check network connection. While repeatedly enabling and disabling the VirtualBox adapter Run vagrant reload I got up normally.

Recommended Posts

Error when using Docker or other OS frequently with Vagrant Stderr: VBoxManage.exe: error: Failed
Make Volume faster when using Docker with vscode.
Error when installing Docker (You must use Bundler 2 or greater with this lock file.)
Error encountered with notes when deploying docker on rails
When I bcrypt with node + docker, I got an error
Error when using SnapKit