Docker Machine – 通用驱动程序不支持启动。

huangapple go评论154阅读模式
英文:

Docker Machine - generic driver does not support start

问题

我尝试在一台主机上使用Docker Machine,但出现了以下错误:

> 通用驱动程序不支持启动

这个脚本在其他主机上运行得很好。我已经查看了问题,但没有找到其他解决方法,只找到了这个链接:https://github.com/docker/machine/blob/master/drivers/generic/generic.go
我应该检查哪些首选项来解决这个问题?

英文:

I try to use Docker Machine on a host and have got following error:

> generic driver does not support start

This script is working perfectly on another hosts. I have looked into the problem, but haven't find other that this: https://github.com/docker/machine/blob/master/drivers/generic/generic.go
Which preferences should I check to resolve this problem?

答案1

得分: 2

你在其他主机上使用的是哪个驱动程序?通用驱动程序实际上不是一个真正的机器驱动程序(控制启动/停止等机器操作),而是一个通用接口,用于在现有虚拟机甚至物理主机上使用(部分)docker-machine命令。(来自文档:“使用具有SSH的现有VM/主机创建机器。”https://docs.docker.com/machine/drivers/generic/,其中的“创建”一词有点误导性。)

因此,问题仍然是,你的设置是什么?你在其他主机上使用什么驱动程序,你在其他主机上使用docker-machine的目的是什么,以及在具有通用驱动程序的主机上使用docker-machine的目的是什么?

英文:

which driver are you using on the other hosts? the generic driver is not really a machine driver (controlling a machine with start/stop etc), but a generic interface to use (a subset of) docker-machine commands with an existing virtual machine or even physical host. (From the docs: "Create machines using an existing VM/Host with SSH." https://docs.docker.com/machine/drivers/generic/, where the word "Create" is a little misleading.)

So the question remains, what is your setup exactly? What drivers are you using on the other hosts, for what purpose are you using docker-machine on the other hosts and on that host with the generic driver?

huangapple
  • 本文由 发表于 2016年4月22日 18:58:27
  • 转载请务必保留本文链接:https://go.coder-hub.com/36791961.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定