I have manged to setup a three nodes overlay network environment, 1. consul node, 2. swarm master 3. swarm slave.
the multi-host networking works as expected.
When i was trying to deep dive into the overlay network mechanism, from /var/run/docker/netns/, it shows:
root@ubuntu1:/var/run/docker/netns# ls /var/run/docker/netns/
22265cd326d8 2-e6bd07dcef 3f753c31a708 5-53206a655f 9b0db332c3f0 d918fe481a28
my question is how to check the contents within 2-e6bd07dcef or 5-53206a655f?
since 2-e6bd07dcef or 5-53206a655f do not belong to a specif container process, the common way of ln -s /proc/$pid/ns/net /var/run/netns doesnot work. so i have no idea to how to reach it. can you provide some help?
Thanks a lot!