Prannav Arora

Results 5 comments of Prannav Arora

If my containers are on 2 separate VMs, wont I need to use docker swarm and then an overlay network?

So here is what I tried: on the same VM, I made 2 containers (first and second) and attached them to the same bridge network (net). Then on container first,...

@EnricoMi So on the same VM I set up a internal bridge network like you mentioned. Then I spun up to 2 containers first and second and put them both...

from within first, I can successfully "ping second", but doing "ssh second" does not work. I am guessing second can also ping first since they are in the same network.

@EnricoMi From within second, I try to ssh into second and I get this: ssh: connect to host second port 22: Connection refused Do I need to expose second's port...