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