mirror of https://github.com/docker/docs.git
parent
a9a939744a
commit
a4c1e8a45a
|
@ -4,7 +4,7 @@ keywords: compose, orchestration, kubernetes, bridge
|
|||
title: Overview of Compose Bridge
|
||||
---
|
||||
|
||||
{{< include "compose-bridge-early-access.md" >}}
|
||||
{{< include "compose-bridge-experimental.md" >}}
|
||||
|
||||
Compose Bridge lets you transform your Compose configuration file into configuration files for different platforms, primarily focusing on Kubernetes. The default transformation generates Kubernetes manifests and a Kustomize overlay which are designed for deployment on Docker Desktop with Kubernetes enabled.
|
||||
|
||||
|
@ -26,7 +26,7 @@ For more detailed information on how these transformations work and how you can
|
|||
|
||||
To get started with Compose Bridge, you need to:
|
||||
|
||||
1. Download and install a version of Docker Desktop that supports Compose Bridge.
|
||||
1. Download and install Docker Desktop version 4.33 and later.
|
||||
2. Sign in to your Docker account.
|
||||
3. Navigate to the **Features in development** tab in **Settings**.
|
||||
4. From the **Experimental features** tab, select **Enable Compose Bridge**.
|
||||
|
|
|
@ -4,7 +4,7 @@ description: Learn about how Compose Bridge can function a kubectl plugin
|
|||
keywords: kubernetes, compose, compose bridge, plugin, advanced
|
||||
---
|
||||
|
||||
{{< include "compose-bridge-early-access.md" >}}
|
||||
{{< include "compose-bridge-experimental.md" >}}
|
||||
|
||||
Compose Bridge can also function as a `kubectl` plugin, allowing you to integrate its capabilities directly into your Kubernetes command-line operations. This integration simplifies the process of converting and deploying applications from Docker Compose to Kubernetes.
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ description: Learn about the Compose Bridge templates syntax
|
|||
keywords: compose, bridge, templates
|
||||
---
|
||||
|
||||
{{< include "compose-bridge-early-access.md" >}}
|
||||
{{< include "compose-bridge-experimental.md" >}}
|
||||
|
||||
This page explains how Compose Bridge utilizes templating to efficiently translate Docker Compose files into Kubernetes manifests. It also explain how you can customize these templates for your specific requirements and needs, or how you can build your own transformation.
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ description: Learn about and use the Compose Bridge default transformation
|
|||
keywords: compose, bridge, kubernetes
|
||||
---
|
||||
|
||||
{{< include "compose-bridge-early-access.md" >}}
|
||||
{{< include "compose-bridge-experimental.md" >}}
|
||||
|
||||
Compose Bridge supplies an out-of-the box transformation for your Compose configuration file. Based on an arbitrary `compose.yaml` file, Compose Bridge produces:
|
||||
|
||||
|
@ -70,9 +70,17 @@ If you want to convert a `compose.yaml` file that is located in another director
|
|||
$ compose-bridge convert -f <path-to-file>/compose.yaml
|
||||
```
|
||||
|
||||
To see all available flags, run:
|
||||
|
||||
```console
|
||||
$ compose-bridge convert --help
|
||||
```
|
||||
|
||||
> [!TIP]
|
||||
>
|
||||
> Run `compose-bridge convert --help` to see all available flags.
|
||||
> You can now convert and deploy your Compose project to a Kubernetes cluster from the Compose file viewer.
|
||||
>
|
||||
> Make sure you are signed in to your Docker account, navigate to your container in the **Containers** view, and in the top-right corner select **View configurations** and then **Convert and Deploy to Kubernetes**.
|
||||
|
||||
## What's next?
|
||||
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
---
|
||||
---
|
||||
|
||||
{{% restricted title="Early Access" %}}
|
||||
Compose Bridge is an [Early Access](/release-lifecycle#early-access-ea) product.
|
||||
|
||||
If you would like to be considered for Compose Bridge testing, you can
|
||||
[sign up for the Early Access program](https://www.docker.com/docker-desktop-preview-program/).
|
||||
{{% /restricted %}}
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
---
|
||||
|
||||
{{% experimental %}}
|
||||
Compose Bridge is an [Experimental](/release-lifecycle.md#experimental) product.
|
||||
{{% /experimental %}}
|
|
@ -2121,7 +2121,7 @@ Manuals:
|
|||
title: Migrate to Compose V2
|
||||
- path: /compose/faq/
|
||||
title: FAQs
|
||||
- sectiontitle: Compose Bridge {{< badge color=violet text="Early Access" >}}
|
||||
- sectiontitle: Compose Bridge
|
||||
section:
|
||||
- path: /compose/bridge/
|
||||
title: Overview
|
||||
|
|
Loading…
Reference in New Issue