Windows – Docker Machine无法使用hyperv成功访问ip地址/机器
发布时间:2020-12-13 21:26:53 所属栏目:Windows 来源:网络整理
导读:我试图在带有hyperv的 Windows 10上使用以下命令创建一台机器: docker-machine create --driver hyperv default 但它给了我: This machine has been allocated an IP address,but Docker Machine could notreach it successfully. 这是完整的输出: $docke
我试图在带有hyperv的
Windows 10上使用以下命令创建一台机器:
docker-machine create --driver hyperv default 但它给了我: This machine has been allocated an IP address,but Docker Machine could not reach it successfully. 这是完整的输出: $docker-machine create --driver hyperv default Running pre-create checks... Creating machine... (default) Copying C:UsersEugene.dockermachinecacheboot2docker.iso to C:UsersEugene.dockermachinemachinesdefaultboot2docker.iso... (default) Creating SSH key... (default) Creating VM... (default) Using switch "DockerNAT" (default) Creating VHD (default) Starting VM... (default) Waiting for host to start... Waiting for machine to be running,this may take a few minutes... Detecting operating system of created instance... Waiting for SSH to be available... Detecting the provisioner... Provisioning with boot2docker... Copying certs to the local machine directory... Copying certs to the remote machine... Setting Docker configuration on the remote daemon... This machine has been allocated an IP address,but Docker Machine could not reach it successfully. SSH for the machine should still work,but connecting to exposed ports,such as the Docker daemon port (usually <ip>:2376),may not work properly. You may need to add the route manually,or use another related workaround. This could be due to a VPN,proxy,or host file configuration issue. You also might want to clear any VirtualBox host only interfaces you are not using. Checking connection to Docker... Docker is up and running! To see how to connect your Docker Client to the Docker Engine running on this virtual machine,run: C:Program FilesDockerDockerResourcesbindocker-machine.exe env default 虽然我可以通过docker-machine ssh默认连接机器. 首先我认为这个错误也是由安装的virtualbox引起的,但是它的删除并没有帮助.以及删除.docker文件夹. 请帮忙.提前致谢.
您应该尝试添加Hyper-V虚拟交换机,类似于
here.然后再次尝试创建这样的机器:
docker-machine create -d hyperv --hyperv-virtual-switch "Virtual Switch1" manager1 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 编程语言 – 我应该将哪个开发平台用于桌面Windows应用程序
- 关于window PC机的预定义宏win32
- windows – 在perl中的fork实现
- windows-server-2008-r2 – 测试Windows用户帐户而不实际登
- windows-server-2008-r2 – Windows Server 2008 R2最大打开
- windows 下 MongoDB 的安装与启动
- windows单机同时运行hadoop、hbase、hive
- wcf – 使用InstallUtil.exe安装Windows服务时出错
- windows-mobile – 新手机上的Windows Phone 8错误
- openid – Hotmail / Windows Live的开放ID端点
推荐文章
站长推荐
- windows – 重用Azure Web角色进行后端处理是一个
- 窗口 – 从头开始??编写COM对象?
- jar 在windows 启动服务,卸载服务,停止端口
- 批量脚本,Powershell,而不是在Windows中触发UAC
- 我是否需要添加此头文件“stdafx.h”以在Windows
- tinymce-3 – TypeError:window.tinyMCE.execIn
- 这些Windows环境变量的含义是什么?HOMEDRIVE,HO
- 证书 – 在Windows 8中,第三方INF驱动程序文件是
- 我不能使用RubyInstaller for Windows在Windows上
- hyperledger-fabric – Windows上的Fabric作曲家
热点阅读