The interface that makes container networking pluggable across runtimes

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

Nothing is new here, CNI is an existing standard, but understanding it explains why any container runtime can use any networking plugin, which affects plugin and tooling choices.

Read this as

CNI, the Container Network Interface, is an open-source standard from the Cloud Native Computing Foundation that decides how containers get network connections, such as an IP address. Before it existed, each container runtime had to build its own networking. Now any runtime works with any compliant plugin. It powers Kubernetes, Amazon ECS, OpenShift and others.

CNI is the CNCF standard that made container networking interchangeable: Kubernetes, OpenShift, Amazon ECS, Cloud Foundry and Apache Mesos all use it. No release, pricing or roadmap is announced here, the article is an explainer of an existing project. Its strategic value is ecosystem lock-out avoidance: swapping network vendors no longer means changing your runtime.

CNI is a CNCF specification plus Go libraries defining the contract between container runtimes and network plugins: commands invoked, arguments passed and expected output. Scope is deliberately narrow, interface add on container start, delete (cleanup) on teardown, no service discovery or policy. The repo includes a plugin template and cnitool for manual plugin execution; reference plugins (bridge, host-local) live in a separate repository. No benchmark figures are given.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

CNI Container Network Interface Kubernetes OpenShift Amazon ECS Apache Mesos Cloud Foundry

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading