Hey, could anyone using nixos-container (declarative style) share how you setup networking?
I'm trying to setup few containers with private network and http proxy at the front. Each container potentially could run application on port 80 and I would like to expose them through proxy. I tried to set this up with privateNetwork=true; hostAddress localAddress and I tried to also run nat on the host with (just to enable outbound traffic) internalInterfaces = ["ve-+"]; externalInterfaces = "eth0"; but no luck. My next try will be creating bridge on the host and add containers to that bridge. Is that how you do stuff or are better ways of doing container networking? Tom
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
