Ability to override host for ssh attempts#203
Ability to override host for ssh attempts#203ytsarev wants to merge 1 commit intotest-kitchen:masterfrom gooddata:yut-qa-5837
Conversation
Useful for complex scenarios when socket != host to access containers
|
My use case:
|
|
👍 I did the same thing so that I could build/test cookbooks from a Docker based CI system. |
|
Another use case is the native docker for windows. that client does not listen on localhost but instead uses "docker" |
|
let's merge this please! |
|
IMHO, it would be better to do this in the SSH transport configuration so as to avoid leaking the details of the kitchen-docker transport being used. See this pull request: https://github.com/test-kitchen/test-kitchen/pull/1138/files |
|
@rheostat I agree, it does belong to transport. |
|
I have a similar use case where kitchen runs in a container and cannot ssh into the container created by kitchen-docker. I would be willing to contribute a PR to let kitchen ssh to the container's ip. However there is already the aforementioned PR pending without any activity there, so I am not sure if it is worth the efforts. |
Useful for complex scenarios when socket != host to access containers