I have been playing with lxc-lxd. I was able to install mongodb within an lxc container (ubuntu 15.04). I was able to access everything from within the container but not the otherway around. The container & lxc-bridge were being given 10.x.x.x ip address where as my network router IP address starts with 192.x.x.x. How do I access mongodb from outside the container (out side the host as well). I am planing to create a couple of more containers for nginx & node.js, so host pass through may not be an option.
My Ubuntu host is running within a virtualbox VM, hope this is not causing the issue.