Test Kitchen, docker exec, and LXC


Wondering if anyone knows the plans re full “docker exec” functionality. According to the docs ‘docker exec’ is not currently supported as CCI’s Docker support is not quite Docker with just a little bit of LXC:


This puts a huge kink in our use of CCI to drive Test Kitchen acceptance testing of Docker containers as microservice containers don’t work with with kitchen-docker’s assumption of a running sshd and docker_cli, which uses ‘docker exec’, won’t work with CCI. I’ve also had no luck getting kitchen-lxc to work with CCI and even if I could we would then have two very different testing setups for local workstation runs versus CI system runs.

1 Like