-
Notifications
You must be signed in to change notification settings - Fork 535
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
Comments
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 🙈) |
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?
The text was updated successfully, but these errors were encountered: