- 環境
windows10 Home
C:\Users\hoge>docker -v
Docker version 19.03.1, build 74hog89e8s
speccy
経緯
Windows環境にDocker Toolboxをインストールするを見ながらdocker toolboxをインストールしていたのですが、デスクトップにできたショートカットのDocker Quickstart Terminalを起動しても以下のエラーメッセージが出たままでクジラのアイコンは出ませんでした。
You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue
なので5.0.12以上をインストールすればよいとのことですが、既に5.2.20を使用しています。これを解決する方法はありますか?
(default) Creating a new host-only adapter produced an error: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe hostonlyif create failed: (default) 0%... (default) Progress state: E_FAIL (default) VBoxManage.exe: error: Failed to create the host-only adapter (default) VBoxManage.exe: error: Querying NetCfgInstanceId failed (0x00000002) (default) VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface (default) VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp (default) (default) This is a known VirtualBox bug. Let's try to recover anyway... Error creating machine: Error in driver during machine creation: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue Looks like something went wrong in step ´Checking if machine default exists´... Press any key to continue...
virtualboxからdefaultを手動で起動したところ進展がありました。本来多数の記事でdefaultは自動で起動するはずだったことと、前述のエラーが解決していないことについて一応不安も残りますが、、いずれにせよ次のエラーが出てきました。
本来表示されるはずのipアドレスが表示されず、Error getting IP address: Machine does not have a host-only adapter docker is configured to use the default machine with IP
という内容のエラーが出ていますが、これはどのようにして解決できますか?
Error checking TLS connection: Machine does not have a host-only adapter Error checking TLS connection: Machine does not have a host-only adapter ## . ## ## ## == ## ## ## ## ## === /"""""""""""""""""\___/ === ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~ \______ o __/ \ \ __/ \____\_______/ Error getting IP address: Machine does not have a host-only adapter docker is configured to use the default machine with IP For help getting started, check out the docs at https://docs.docker.com Start interactive shell
試したこと
・speccy
・vagrant,virtualbox, dockerをアンインストーラでアンインストールしてからdocker for toolboxで再インストール(vagrantは再インストールしていないと思います。が、インストールしてあってもなくてもエラー内容に変化はありませんでした。)
一番下のチェックボックスにもチェックを入れてvirtulaboxをダウンロードしました。
カスペルスキーのメッセージも何か関係していそうです↓
defaultのリスタート
PS C:\Users\hoge> docker-machine restart default Restarting "default"... (default) Check network to re-create if needed... (default) Windows might ask for the permission to create a network adapter. Sometimes, such confirmation window is minimized in the taskbar. (default) Creating a new host-only adapter produced an error: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe hostonlyif create failed: (default) 0%... (default) Progress state: E_FAIL (default) VBoxManage.exe: error: Failed to create the host-only adapter (default) VBoxManage.exe: error: Querying NetCfgInstanceId failed (0x00000002) (default) VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface (default) VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp (default) (default) This is a known VirtualBox bug. Let's try to recover anyway... Problem starting the VM: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。