0

运行时出现以下错误

$ ansible-container 构建

ERROR: for ansible-container  Container command '/usr/local/bin/builder.sh' not found or does not exist.

ansible/container.yml

version: "1"
services:
  web:
    image: busybox:latest

registries: {}

ansible/main.yml

- hosts:
  tasks:
    - name: Copy something
      copy: src=start_here.sh dest=/etc/start_here.sh
4

1 回答 1

0

您缺少指挥的设置。

version: "2"
settings:
  conductor:
    base: "centos:7"

然后您可以启动服务部分

services:
  mongo:
    from: "centos:7"
于 2017-07-11T16:23:17.083 回答