Marvel on remote docker host

Problem in Short:
If IP of node changed then Marvel think it's new server.
Can i configure Marvel to group nodes by hostname, not by IP?

Problem in Long:
I have 2 containers elasticsearch and marvel
1-st sending statistic to 2-nd, it's mean 2-nd container linked to 1-st.

it's mean in /etc/hosts of 1-st container docker writen:
172.17.0.5 marvel

But when after restart containers docker use next interface 172.17.0.6 and next and next...
If IP of node changed then Marvel think it's new server.
I can't find solution for this by Docker, so maybe i can solve it by Marvel configuration?
Can i configure Marvel to group nodes by hostname, not by IP?

Are you explicitly setting node.name?

Yes.