Overview of Compose Bridge
Compose Bridge converts your Docker Compose configuration into platform-specific deployment formats such as Kubernetes manifests. By default, it geneterates:
- Kubernetes manifests
- A Kustomize overlay
These outputs are ready for deployment on Docker Desktop with Kubernetes enabled.
Compose Bridge helps you bridge the gap between Compose and Kubernetes, making it easier to adopt Kubernetes while keeping the simplicity and efficiency of Compose.
It's a flexible tool that lets you either take advantage of the default transformation or create a custom transformation to suit specific project needs and requirements.
How it works
Compose Bridge uses transformations to convert a Compose model into another form.
A transformation is packaged as a Docker image that receives the fully resolved Compose model as /in/compose.yaml
and can produce any target format file under /out
.
Compose Bridge provides its own transformation for Kubernetes using Go templates, so that it is easy to extend for customization by replacing or appending your own templates.
For more detailed information on how these transformations work and how you can customize them for your projects, see Customize.
Compose Bridge also supports applications that use LLMs via Docker Model Runner.
For more details, see Use Model Runner.