Cloud Native 5 min read

New Docker Compose Spec: Advantages, Kubernetes Comparison, and Open‑Source Ecosystem

The article explains Docker's new cross‑platform Compose specification, highlights its concise syntax and cloud‑native benefits over Kubernetes, showcases example configurations, and describes related open‑source projects and Lingque Cloud's contributions to the spec development.

Cloud Native Technology Community
Cloud Native Technology Community
Cloud Native Technology Community
New Docker Compose Spec: Advantages, Kubernetes Comparison, and Open‑Source Ecosystem

Docker recently released a next‑generation, cross‑platform Docker Compose specification that removes many Docker‑specific constraints and focuses on the application layer, creating new possibilities for cloud‑native applications.

Lingque Cloud, a leading Chinese container and Kubernetes technology provider, collaborated with Docker and Microsoft on the spec discussion, reaching consensus on the roadmap, technical direction, and next steps.

Docker Compose offers significant advantages: its YAML syntax is extremely concise and easy to understand, whereas Kubernetes requires multiple objects (Deployments, Services) and more complex concepts to describe the same scenario.

version: '3' services: web: build: . ports: - "5000:5000" redis: image: "redis:alpine"

To express the same setup in Kubernetes would need at least two Deployments, two Services, and the platform lacks a native image‑build concept (OpenShift provides a similar feature).

Because of Compose's simplicity, many developers can grasp the application model without deep Kubernetes knowledge, while Kubernetes offers richer extensibility for complex cases.

Several mature projects already enable running Compose on other platforms, such as Kompose (maintained by Hang Yan) and Compose‑on‑Kubernetes , demonstrating Compose's cross‑platform capability.

The newly published Compose Spec removes Docker dependencies and adds extensible fields for various cloud providers. The related repositories are:

compose-spec (spec definition)

compose-go (Go SDK)

compose-ref (Docker‑based reference implementation)

Lingque Cloud senior engineer Hang Yan, a maintainer of Kompose, actively participated in the spec roadmap and design discussions, reflecting the company's strong open‑source contributions.

Overall, Lingque Cloud continues to invest in core cloud‑native technologies such as containers, Kubernetes, and DevOps, contributing code and expertise to the community and enhancing its influence.

cloud-nativekubernetesOpen SourceYAMLDocker-ComposeSPEC
Cloud Native Technology Community
Written by

Cloud Native Technology Community

The Cloud Native Technology Community, part of the CNBPA Cloud Native Technology Practice Alliance, focuses on evangelizing cutting‑edge cloud‑native technologies and practical implementations. It shares in‑depth content, case studies, and event/meetup information on containers, Kubernetes, DevOps, Service Mesh, and other cloud‑native tech, along with updates from the CNBPA alliance.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.