Can anyone share a basic example of being able to say, scp a file from one container to another when in swarm mode? In particular, if one container is on one node, and the other is container is on a different node?
I’m able to get this sort of thing to work if both containers are running on the same node, but not if they are on different nodes. I guess the issue is that if say I send a file from one node to another, the data needs to go from the overlay network, to the network the nodes are physically connected to, then back into the overlay network and into the receiving container. It’s not exactly clear to me what needs to be changed on each node to get this to work.