导体容器无法find。 首先运行`容器build造'

我试图使用容器,但得到下面的错误。

以下例子:

http://docs.ansible.com/ansible-container/getting_started.html#real-world-usage-starting-from-a-working-base-setup Conductor container can't be found. Run `ansible-container build` first 

最近我在Solr Ansible Container项目中遇到了同样的错误:

 $ ansible-container --var-file vars.yml build Building Docker Engine context... Starting Docker build of Ansible Container Conductor image (please be patient)... ERROR Conductor container can't be found. Run `ansible-container build` first 

要获得更多有用的输出(Ansible Container默认情况下非常安静!),可以使用--debug

 $ ansible-container --debug --var-file vars.yml build 

现在,当ansible-containerbuild立你的图像(和Conductor)时,你会看到构build过程的实时输出。 运气好的话,输出的最后几行应该显示一条错误信息。

有趣的是,在我的情况下,只是用--debug运行另一个版本(三个失败之后没有 ),一切都成功了。 奇怪的。 也许这对你也是一样的:D