In 4.4 using /etc/hosts in AD (XA2) worked with:
/var/lib/lxc/aliendalvik/extra_config
having
lxc.mount.entry = /etc/hosts system/etc/hosts none bind,create=file 0 0
(just saw lxc.mount.entry = /etc/hosts system/etc/hosts none bind,ro 0 0)
It doesn’t seem to work in 4.5.
Couldn’t find any hint on this.