Hi!
I’ve been trying to set up 3 containers, (one with web, one to run tests and one to run selenium driver)
Unfortunately, I am out of luck.
My main issue is that I’m currently using a single docker-machine for all 3.
If I have localhost in my code in all containers, and all correct ports are exposed shouldn’t they be able to communicate?
Example:
run -d --name container1 -p 3014:3014 my-app
run -d --name container2 my-app-2
Shouldn’t container2 be able to access localhost:3014?
I tried using telnet inside that container but it can’t connect.
My setup is MacOS X with Docker Toolkit.
Thanks in advance everyone.