docker-selenium icon indicating copy to clipboard operation
docker-selenium copied to clipboard

[🚀 Feature]: Allow child node containers provisioned in dynamic grid to copy resolv.conf from node-docker container

Open theswordsmahin opened this issue 1 year ago • 4 comments

Feature and motivation

If I add

    dns:
      - "x.x.x.xxx"
    dns_search: testdomain.com

in my docker-compose file, the node-docker container's resol.conf file is updated and the container is able to resolve names using machine shortnames, and FQDN's from the custom DNS server, but any containers that are dynamically created are using the standard resolv.conf file and thus are forced to use IP addresses.

It would be great if the child containers could copy this file, or, an option was provided to allow further customization of the child containers that the node-docker container creates.

Usage example

Would allow usage of dynamic grid and the use of domain names on a custom DNS server, ie local intranet, rather than being forced to use IP addresses

theswordsmahin avatar Jan 20 '24 01:01 theswordsmahin

@theswordsmahin, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

github-actions[bot] avatar Jan 20 '24 01:01 github-actions[bot]

@diemol, I guess this has to be implemented on upstream, right?

VietND96 avatar Jan 22 '24 05:01 VietND96

Yes. It would be nice to have a generic way to add those things and not add them one by one.

diemol avatar Jan 23 '24 08:01 diemol

This issue is looking for contributors.

Please comment below or reach out to us through our IRC/Slack/Matrix channels if you are interested.

github-actions[bot] avatar Jan 23 '24 15:01 github-actions[bot]

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar May 24 '24 00:05 github-actions[bot]