kitchen-docker
kitchen-docker copied to clipboard
Can't use cluster swarm with kitchen-docker
Im not sure if it's a bug or not, this is what I have when i use kitchen-docker with a docker-swarm cluster :
Successfully built a1ab400bbcc4
44eb605e4b9f2b576164766c581a292f28a7f89e47928e03e3310639b058b355
10.0.0.195:32774
Waiting for SSH service on 10.0.0.150:32774, retrying in 3 seconds
Waiting for SSH service on 10.0.0.150:32774, retrying in 3 seconds
Waiting for SSH service on 10.0.0.150:32774, retrying in 3 seconds
Waiting for SSH service on 10.0.0.150:32774, retrying in 3 seconds
Any clue or workaround with this ?
thx for your help.
kitchen-docker assumes that the IP we talked to Docker at is also where you should SSH to (with the random mapped port). To fix this we would need to parse the output to get the IP to connect to. I don't have a Docker Swarm setup to test with but if you can paste the raw docker run output I can try and write the parser logic.
Any updates here? :)