Avahi is nothing more than a multicast-dns implementation. if avahi- daemon is installed in the container and libnss-mdns (IIRC) in the host, then the container will broadcast it's hostname through mdns and the host would be able to resolve it. It might be overkill however, specially since the dhclient/resolv.conf option works fine as you pointed out.
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/824167 Title: wishlist: connect to lxc container by name using avahi To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/824167/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs