Base CentOS containers for Test Kitchen
308
For test kitchen. The 7 tag is CentOS 7 based and runs sshd under systemd. The 6 tag - oddly is a CentOS 6 version. Both versions have Chef 12.7.2 pre-installed.
To get the systemd (7) version working you will need the following directives in .kitchen.yml
driver:
name: docker
use_sudo: false
platform: rhel
image: platformservices/kitchen_base:7
run_command: /usr/sbin/init
privileged: true
Whether you need the privileged flag setting is debatable. The image is based off maci0/systemd which should provide unprivileged systemd. But using Docker for Mac (Beta) gave me errors about failing to get a D-Bus connection unless I made the container privileged. I have not tried it on a real Linux host.
Content type
Image
Digest
Size
231.8 MB
Last updated
about 10 years ago
docker pull platformservices/kitchen_base:6