Containers can't ping hostname of other containers

Hi guys,

I’m familiar on using RancherOS to build cluster environments.
But now I’m trying to use it as a minimal OS to deploy containers on a single machine (no cluster!).
Everything is working as expected, except for one thing:

  • Containers deployed as services, can ping eachother by IP, but not by hostname.
    I have tried several workarounds, but nothing has worked and I’m out of ideas.
    Manipulating /etc/hosts is not a proper sollution as containers probabily change their IP’s when host reboots (I’m not sure if this is true).

Is there anything I am missing?
Any suggestions?

Thanks