In order to check if the hostnames for mass virtual hosting have been setup correctly in vhosts.php the php docker needs to be able to resolve the docker hosts dns entries from the hosts /etc/hosts file.
This is done in the PHP docker via getent hosts example.loc
However, this only works with a docker setup under OSX, but not with a docker setup under Linux.
I also created a ticket to get more information.
If anybody has a nice/better solution please let me know.
In order to check if the hostnames for mass virtual hosting have been setup correctly in
vhosts.phpthe php docker needs to be able to resolve the docker hosts dns entries from the hosts/etc/hostsfile.This is done in the PHP docker via
getent hosts example.locHowever, this only works with a docker setup under OSX, but not with a docker setup under Linux.
I also created a ticket to get more information.
If anybody has a nice/better solution please let me know.