0
以下.kitchen.yml文件无法配置我的码头工人容器中intermediate_instructions提到所需的工具来配置。该pid_one_command也不起作用作为容器仍与bash的外壳加载无法使用我的泊坞窗容器intermediate_instructions和pid_one_command在测试厨房
任何想法是错误的文件吗?
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:
我认为你是对的。我所指的培训视频使用的是厨房独角。谢谢! –