我在运行时遇到以下错误
$ ansible-container build
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
答案 0 :(得分:0)
您缺少导体的设置。
version: "2"
settings:
conductor:
base: "centos:7"
然后你可以启动服务部分
services:
mongo:
from: "centos:7"