4 ms·
The thing I like about the link model is that they hide your containers from other containers and only expose the connections you want (I think using iptables?)
by spb 12y ago
The thing I like about the link model is that they hide your containers from other containers and only expose the connections you want (I think using iptables?)
I'd like a tool that makes this linking easier outside of Docker, but for now this is one of the features I like about it (although holy moly do Docker links have a lot of baggage you have to bring along for the ride, like giving everything names).
- vishvananda 12y agoShameless self plug, but not sure if you saw my project that does something along these lines: https://github.com/vishvananda/wormhole https://github.com/vishvananda/wormhole
- spb 12y agoFrom the docs, it looks like that has a dependency on Docker, which kind of defeats the purpose. If I'm stuck with Docker, I'm better off just sticking with links: I'm looking for something that could work with systemd-nspawn, etc.