kitchen-docker_cli icon indicating copy to clipboard operation
kitchen-docker_cli copied to clipboard

call Docker on tcp socket

Open danfromtitan opened this issue 10 years ago • 3 comments

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 ?

danfromtitan avatar May 01 '15 15:05 danfromtitan

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 avatar May 07 '15 01:05 marcy-terui

@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 avatar Jun 02 '15 11:06 xmik

@xmik Thank you for your reporting :smile:

marcy-terui avatar Jun 02 '15 16:06 marcy-terui