I read this tutorial
[Dynamic Grid] (https ://github.com/SeleniumHQ/docker-selenium?tab=readme-ov-file#dynamic-grid)
But i dont understand about host-config-keys = [“Dns”, “DnsOptions”, “DnsSearch”, “ExtraHosts”, “Binds”]
Is there anyone can help me explan that ?
Thanks
This key allows you to specify custom DNS servers for the container. For example, you can set it to use Google’s DNS servers by providing [“8.8.8.8”, “8.8.4.4”]. This key is used to specify additional options for the DNS configuration. These options are similar to those you might find in a resolv.conf file, such as ndots:0. This key allows you to specify DNS search domains. These domains are appended to the hostname being queried. For example, if you set [“example”], a query for host would be expanded to host.example.com. This key is used to add additional entries to the container’s /etc/hosts file. This can be useful for hostname resolution within the container. For example, you can map example.com to a specific IP address by providing [“example:192.168.1.1”].