无法在Test Kitchen中使用intermediate_instructions和pid_one_commandconfiguration我的Docker容器
以下.kitchen.yml文件无法使用intermediate_instructions中提到的所需工具configuration我的泊坞窗容器。 pid_one_command也不能工作,因为容器仍然使用bash shell加载
任何想法文件有什么问题?
driver: name: docker socket: tcp://localhost:2375 binary: docker.exe chef_version: latest privileged: true provisioner: name: chef_zero # You may wish to disable always updating cookbooks in CI or other testing environments. # For example: # always_update_cookbooks: <%= !ENV['CI'] %> always_update_cookbooks: true verifier: name: inspec platforms: - name: ubuntu-16.04 driver: image: ubuntu:16.04 pid_one_command: /bin/systemd intermediate_instructions: - RUN /usr/bin/apt-get install -y lsof which initscripts net-tools suites: - name: default run_list: - recipe[testy::default] verifier: inspec_tests: - test/smoke/default attributes:
我想你正尝试使用configuration选项kitchen-dokken
与kitchen-docker
。 这两个项目是无关的。
- 厨师和docker工人
- Docker厨师手册设备属性问题
- 延迟厨师,直到资源完成其任务
- 我怎样才能将Jenkins这样的应用程序安装到使用chef-recipe的CentOs映像中运行的正在运行的CentOs容器中?
- 如何访问OpsWorks ECS层中的私有Docker存储库?
- 在开发人员环境中使用Docker容器进行testing的平台
- Chef中禁用docker容器日志configuration
- 未定义的方法`source_url'为#<Chef :: Cookbook :: Metadata:0x000000006f1378>
- 运行runit cookbook时,packer docker build退出代码137