LoginSignup
4
3

More than 5 years have passed since last update.

PCを移行したらdocker-machine start defaultでエラーが出た時の対応

Posted at

Macにある移行アシスタントを利用してPCを移行した時に起きたのでメモ代わり。

$ docker-machine start default

と起動しようとしたら

Error setting up host only network on machine start: /usr/local/bin/VBoxManage hostonlyif create failed:
0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg*)" at line 71 of file VBoxManageHostonly.cpp

このようにエラーがでた。

VirtualBoxのところでエラーだったので設定ファイルを読み込み直したら動いてくれました。

$ sudo launchctl load /Library/LaunchDaemons/org.virtualbox.startup.plist
4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3