Try reading hostname from /etc/hostname first before fallback to socket API. This allows the container to get the host node name through a simple bind mount.
Try reading hostname from /etc/hostname first before fallback to socket API. This allows the container to get the host node name through a simple bind mount.