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

[CI:DOCS] Document source ip for the rootlesskit port handler #11177

Merged
merged 1 commit into from
Aug 10, 2021

Conversation

Luap99
Copy link
Member

@Luap99 Luap99 commented Aug 10, 2021

Fixes #10884

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 10, 2021
@@ -678,7 +678,8 @@ Valid _mode_ values are:
- **outbound_addr6=INTERFACE**: Specify the outbound interface slirp should bind to (ipv6 traffic only).
- **outbound_addr6=IPv6**: Specify the outbound ipv6 address slirp should bind to.
- **port_handler=rootlesskit**: Use rootlesskit for port forwarding. Default.
- **port_handler=slirp4netns**: Use the slirp4netns port forwarding.
Note: Rootlesskit changes the source ip of incoming packets to a IP in the container network namespace, usually `10.0.2.100`. If your application requires the real source ip, e.g. web server logs, use the slirp4netns port handler. This port handler is also used for rootless users when connected to user-defined networks.
Copy link
Collaborator

Choose a reason for hiding this comment

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

This port handler is also used for rootless users when connected to user-defined networks.

Perhaps "rootless users" -> "rootless containers"

Copy link
Collaborator

Choose a reason for hiding this comment

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

Also, "This port handler" -> "RootlessKit port handler" might be better. (Some people may interpret "this" to be slirp4netns that is mentioned in the previous sentence)

Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: "ip" -> "IP address"

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 10, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: AkihiroSuda, Luap99

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

- **bridge**: create a network stack on the default bridge;
- **none**: no networking;
- **host**: use the Podman host network stack. Note: the host mode gives the container full access to local system services such as D-bus and is therefore considered insecure;
- **network**: connect to a user-defined network, multiple networks should be comma-separated;
Copy link
Member

Choose a reason for hiding this comment

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

remove semi colons?

Copy link
Member Author

Choose a reason for hiding this comment

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

I copied this from podman create. I can remove the semi colons everywhere if you want.

@baude
Copy link
Member

baude commented Aug 10, 2021

lgtm other than the nit

@mheon
Copy link
Member

mheon commented Aug 10, 2021

Semicolon removal seems like a good idea, otherwise LGTM

Also add some missing options to podman pod create.

Fixes containers#10884

Signed-off-by: Paul Holzinger <[email protected]>
@mheon
Copy link
Member

mheon commented Aug 10, 2021

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 10, 2021
@openshift-ci openshift-ci bot merged commit 904e0f2 into containers:main Aug 10, 2021
@Luap99 Luap99 deleted the source-ip branch August 10, 2021 14:36
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
4 participants