Demystifying the Open Container Initiative Specs
The Open Container Initiative is a complex specification that's given rise to misconceptions. Let's clear up some myths about the OCI.
Join the DZone community and get the full member experience.Join For Free
The Open Container Initiative (OCI) announced the completion of the first versions of the container runtime and image specifications last week. The OCI is an effort under the auspices of the Linux Foundation to develop specifications and standards to support container solutions. A lot of effort has gone into the building of these specifications over the past two years. With that in mind, let’s take a look at some of the myths that have arisen over the past two years.
Myth: The OCI Is a Replacement for Docker
Standards are important, but they are far from a complete production platform. Take, for example, the World Wide Web. It has evolved over the last 25 years and was built on core dependable standards like TCP/IP, HTTP, and HTML. Using TCP/IP as an example, when enterprises coalesced around TCP/IP as a common protocol, it fueled the growth of routers and in particular – Cisco. However, Cisco became a leader in its market by focusing on differentiated features on its routing platform. We believe the parallel exists with the OCI specifications and Docker.
Docker is a complete production platform for developing, distributing, securing, and orchestrating container-based solutions. The OCI specification is used by Docker, but it represents only about five percent of our code and a small part of the Docker platform concerned with the runtime behavior of a container and the layout of a container image.
Myth: Products and Projects Are Already Certified to the OCI Specifications
The runtime and image specifications were just recently released as 1.0. However, the OCI certification program is still in development, so companies cannot claim compliance, conformance, or compatibility until certification is formally rolled out later this year.
The OCI certification working group is currently defining the standard so that products and open source projects can demonstrate conformance to the specifications. Standards and specifications are important for engineers implementing solutions, but formal certification is the only way to reassure customers that the technology they are working with is truly conformant to the standard.
Myth: The OCI Specifications Are About Linux Containers
There is a misperception that the OCI is only applicable to Linux container technologies because it is under the aegis of the Linux Foundation. The reality is that although Docker technology started in the Linux world, Docker has been collaborating with Microsoft to bring our container technology, platform, and tooling to the world of Windows Server. Additionally, the underlying technology that Docker has donated to the OCI is broadly applicable to multi-architecture environments including Linux, Windows, and Solaris and covers x86, ARM, and IBM zSeries.
Myth: CRI-O Is an OCI project
CRI-O is an open source project in the Kubernetes incubator in the Cloud Native Computing Foundation (CNCF) – it is not an OCI project. It is based on an earlier version of the Docker architecture, whereas containerd is a direct CNCF project that is a larger container runtime that includes the runc reference implementation. containerd is responsible for image transfer and storage, container execution and supervision, and low-level functions to support storage and network attachments. Docker donated containerd to the CNCF with the support of the five largest cloud providers: Alibaba Cloud, AWS, Google Cloud Platform, IBM Softlayer, and Microsoft Azure with a charter of being a core container runtime for multiple container platforms and orchestration systems.
Myth: The OCI Specifications Are Now Complete
While the release of the runtime and image format specifications is an important milestone, there’s still work to be done. The initial scope of the OCI was to define a narrow specification on which developers could depend for the runtime behavior of a container, preventing fragmentation in the industry, and still allowing innovation in the evolving container domain. This was later expanded to include a container image specification.
As the working groups complete the first stable specifications for runtime behavior and image format, new work is under consideration. Ideas for future work include distribution and signing. The next most important work for the OCI, however, is delivering on a certification process backed by a test suite now that the first specifications are stable.
Learn more about OCI and open source:
- Read the blog post about the OCI Release of v1.0 Runtime and Image Format Specifications
- Visit the Open Container Initiative website
- Visit the Moby Project website
Published at DZone with permission of Stephen Wall, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.