kitchen-docker_cli
kitchen-docker_cli copied to clipboard
call Docker on tcp socket
Looks like the driver's using the unix local socket to connect Docker, which means test-kitchen must run on same host with Docker. Would you be able to enhance docker_command by adding a remote Docker host feature ?
We can run test-kitchen with a different host by setting environment variable DOCKER_HOST.
However, I am considering to be able to set in .kitchen(.local).yml.
@marcy-terui solution works: I set DOCKER_HOST=tcp://<docker_hostname>:2375, ran kitchen on my workstation, container is created/converged/etc on remote docker host.
@xmik Thank you for your reporting :smile: