Kitchen login failed :Could not resolve host name

时间:2017-05-16 09:20:38

标签: docker ssh test-kitchen

I am using test-kitchen and created a centos docker image. my .kitchen.yml file looks like this enter image description here

I have performed kitchen createand kitchen converge command and then looked into the created files with kitchen list enter image description here

and I also have a docker image created when I used the kitchen create enter image description here now that I have everything I want to run the image and I am using kitchen login command and I am receiving following error

enter image description here Is this a correct procedure to login to a docker container? or am I doing anything wrong in the .kitchen.yml file?. Note: I have looked into various issues but nothing helped me so finally, I am asking it here.

EDIT: I have resolved the above issue and facing this new one enter image description here

1 个答案:

答案 0 :(得分:0)

我解决了这是一个配置问题的问题。我已经修改了我的docker文件以及所有内容并立即工作