Empty hostname on dhcp with macvlan network

I run docker containers in macvlan mode like virtual machines in “bridge” mode.

The IP address is given by the LAN router and everything is fine. The container is accessible by IP throughout the LAN. But not accessible by hostname. What can be the problem?

I went to the router, and it is true, instead of a name we see a dash.