bryzgaloff opened a new pull request #10546: URL: https://github.com/apache/airflow/pull/10546
Added support for `extra_hosts` argument ([docs](https://docker-py.readthedocs.io/en/stable/containers.html?highlight=extra_hosts#docker.models.containers.ContainerCollection.run)) which is equivalent to `--add-host` flag for `docker run` command ([docs](https://docs.docker.com/engine/reference/commandline/run/#:~:text=Add%20entries%20to%20container%20hosts%20file%20(%2D%2Dadd%2Dhost)&text=Sometimes%20you%20need%20to%20connect,the%20ip%20addr%20show%20command.)). Covered with tests. Also includes minor enhancements to `DockerOperator` tests: common code is moved to a `setUp` method which makes code cleaner and reduces duplication. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
