I was hoping that
getent hosts <containername>
would work, just like
getent hosts <hostname>
where <hostname> can be anything else in the hosts: field in nsswitch.conf. But
no such luck.
The <containername> does get resolved correctly in other cases, e.g. when
pinging it.
Not knowing how getent actually works, I don’t know why that is, but I figured
I mention it.
Cheers,
Johannes.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel