docker-machine无法连接到外部Windows Server 2019主机

时间:2019-07-14 18:46:07

标签: docker docker-machine

我无法使用docker-machine创建计算机以连接到Windows Server 2019,并且在服务器内部安装了docker。

我在XenServer上创建了Windows Server 2019 Standard VM,并在服务器上安装了Docker,并且我已经测试了它是否可以在服务器内部正常工作并购买iis docker镜像: docker pull mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2019

我已经在docker-machine create命令中尝试了通用驱动程序,但是在尝试检测操作系统"'cat' is not recognized as an internal or external command"时给了我一个错误 因为它假定它是Linux发行版(我猜它假定它是boot2docker)

docker-machine.exe create -d generic --generic-ip-address 192.168.1.80 --generic-ssh-user "dockeradmin" windows

我希望在docker-machine create中指定一种服务器IP地址和凭据(或证书)的方法能够连接到我的Windows Server 2019 docker并能够从我的Windows 10主机部署docker镜像

0 个答案:

没有答案
相关问题