Access ".local" domain name from Docker conatiner without having Avahi installed inside

51 Views Asked by At

The setup is: Proxmox Host, 1 Linux VM with reverse proxy in docker, 1 Linux VM with webapp in docker.

Goal is to be able to access webapp from reverse proxy using avahi ".local" hostname.

I installed avahi-daemon to both VMs and it works when I ping hosts between VMs, but when I try to access Linux VM with webapp from reverse proxy docker - then it cannot resolve the hostname.

Is it possible to access ".local" hostname without installing avahi-daemon inside of docker container?

0

There are 0 best solutions below