compose-spec

The Compose specification

Github星跟踪图

Compose Specification

The Compose specification establishes a standard for the definition of
multi-container platform-agnostic applications. The specification can be found
here.

Table of Contents

Additional documentation about how this group operates:

Use cases

To provide more context on the Compose specification the following section gives
example use cases for each part of the specification.

Development tools

Developers can use a Compose file to specify a container-based application
that will run as a set of containers on a local container engine. The Compose
implementation in this scenario could offer some specific features (local
volume binding, live-reload) to better address development needs. The
application definition and Compose model is the same used as that used for other
use cases. Platform features expected by the specification (like configs and
secrets) can be mocked with local resources.

Kubernetes deployment

Kubernetes container orchestration relies on a set of abstract concepts and
APIs to manage networking services, container deployments and their lifecycles.
While this offers flexibility to address many operator use cases, it makes
simple use cases, like the developer use case, more complicated to express than
they need to be. Projects like Kompose
and Compose on Kubernetes
show how the simpler Compose model can be translated into Kubernetes API
payloads and make the Compose file the source of truth for development and
deployment.

Cloud providers

Some cloud providers offer proprietary container hosting solutions based on
in-house orchestrators and custom APIs. The Compose specification offers a
simple model that can be mapped to these hosting solutions so that users can
reuse Compose files that they already have and so that they do not need to learn
custom configuration file formats. Platform specific features can be added
either using Compose extensions or a dedicated configuration file along side the
Compose file.

Contributing

Development happens on GitHub for the specification. Issues are used to track
bugs and actionable items. Longer discussions can happen on the
mailing list.

The specification and code is licensed under the Apache 2.0 license found in the
LICENSE file.

Implementations

主要指标

概览
名称与所有者compose-spec/compose-spec
主编程语言Dockerfile
编程语言Dockerfile (语言数: 5)
平台
许可证Apache License 2.0
所有者活动
创建于2019-12-10 15:16:39
推送于2025-06-06 00:02:35
最后一次提交
发布数0
用户参与
星数2.5k
关注者数63
派生数771
提交数541
已启用问题?
问题数225
打开的问题数44
拉请求数281
打开的拉请求数7
关闭的拉请求数76
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?