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

Standardize port mapping #1109

Open
cyruseuros opened this issue Jul 19, 2021 · 1 comment
Open

Standardize port mapping #1109

cyruseuros opened this issue Jul 19, 2021 · 1 comment

Comments

@cyruseuros
Copy link

Though it's not a straightforward as bind-mounts (one step process to tweak the rootfs, vs two-step process of creating network namespaces and e.g. veth devices to connect them), it fundamentally serves the same purpose - poking holes in the isolated environment for the sake of communication.

Seeing as pretty much every high-level runtime (docker, podman, cri-o) implements this feature, it seems like a good candidate for standardization.

Thoughts?

@tianon
Copy link
Member

tianon commented Jul 19, 2021

Networking is definitely a complicated topic, and even if we take just the example of Docker, it has multiple methods by which it implements this one feature (and the ability to do so/method it uses also varies depending on which underlying networking the container uses) -- contrast that with most of the other settings in the runtime specification, which generally map one-to-one with kernel functionality (complicated mostly by cgroupv1 vs cgroupv2).

I'm not extremely well-versed in https://github.com/containernetworking/cni, but it seems like that might be a better place to discuss standardizing this? (or where it might already be 🙈)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants