Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added docker network_mode options in documentation #21986

Merged
merged 1 commit into from
Mar 6, 2022

Conversation

Bowrna
Copy link
Contributor

@Bowrna Bowrna commented Mar 4, 2022

closes: #8418
related: #8418
Added documentation for Docker operator network_mode option.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

bridge - Create new network stack for the container with default docker bridge network
None - No networking for this container
container:<name|id> - Use the network stack of another container specified via <name|id>
host - Use the host network stack. Incompatible with `port_bindings`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In host network stack, port_binding option is incompatible as container and it's host shares same networking namespace and the container has the same IP address as that of the host. However in create_host_config function in DockerOperator we don't support port_binding as param. So I am not sure if we have to add this detail Incompatible with port_bindings in the documentation.

@Bowrna Bowrna force-pushed the docker-network-docs branch 3 times, most recently from bd775b0 to dc08e17 Compare March 6, 2022 07:59
@potiuk potiuk merged commit 7acc190 into apache:main Mar 6, 2022
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update docker operator network documentation
3 participants