#前提・実現したいこと
DockerでRailsの環境構築をしたいです。環境はWindows10 Homeです。
Docker Toolboxをインストールして問題が発生しました。
#発生している問題・エラーメッセージ
Docker ToolboxのインストールしてDocker Quickstart Terminal起動したとき、
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
が表示され、本来表示されるはずのIPアドレスが出てきません。
#試してみたこと
似たようなエラー問題から解決法があり、
$ docker-machine rm -y default $ docker-machine create -d virtualbox default
試してみましたが、うまくいきませんでした。
81806@LAPTOP-6GBEDOFR MINGW64 /c/Program Files/Docker Toolbox $ docker-machine rm -y default About to remove default WARNING: This action will delete both local reference and remote instance. Successfully removed default 81806@LAPTOP-6GBEDOFR MINGW64 /c/Program Files/Docker Toolbox $ docker-machine create -d virtualbox default Running pre-create checks... Creating machine... (default) Copying C:\Users\81806.docker\machine\cache\boot2docker.iso to C:\Users\81806.docker\machine\machines\default\boot2docker.iso... (default) Creating VirtualBox VM... (default) Creating SSH key... (default) Starting the VM... (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: Operation canceled by the user (default) VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component VirtualBoxWrap, interface IVirtualBox (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
どうかご教授お願いします。
#補足
dockerのバージョンを確認したところ、Clientは正常でしたがServerはエラーになっていました。
![]
VirtualBoxのバージョン
![]