Skip to content

ENGDOCS-2709 #22799

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions content/manuals/compose/bridge/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ To get started with Compose Bridge, you need to:

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**.
3. Navigate to the **Beta features** tab in **Settings**.
4. Select **Enable Compose Bridge**.
5. Select **Apply & restart**.

## Feedback
Expand All @@ -41,5 +41,4 @@ To give feedback, report bugs, or receive support, email `desktop-preview@docker
## What's next?

- [Use Compose Bridge](usage.md)
- [Explore how you can customize Compose Bridge](customize.md)
- [Explore the advanced integration](advanced-integration.md)
- [Explore how you can customize Compose Bridge](customize.md)
43 changes: 0 additions & 43 deletions content/manuals/compose/bridge/advanced-integration.md

This file was deleted.

10 changes: 3 additions & 7 deletions content/manuals/compose/bridge/customize.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ decisions and preferences, with various level of flexibility and effort.
### Modify the default templates

You can extract templates used by the default transformation `docker/compose-bridge-kubernetes`,
by running `compose-bridge transformations create --from docker/compose-bridge-kubernetes my-template`
by running `docker compose bridge transformations create --from docker/compose-bridge-kubernetes my-template`
and adjusting the templates to match your needs.

The templates are extracted into a directory named after your template name, in this case `my-template`.
Expand All @@ -106,7 +106,7 @@ $ docker build --tag mycompany/transform --push .
You can then use your transformation as a replacement:

```console
$ compose-bridge convert --transformations mycompany/transform
$ docker compose bridge convert --transformations mycompany/transform
```

### Add your own templates
Expand Down Expand Up @@ -152,7 +152,7 @@ when transforming Compose models into Kubernetes in addition to other
transformations:

```console
$ compose-bridge convert \
$ docker compose bridge convert \
--transformation docker/compose-bridge-kubernetes \
--transformation mycompany/transform
```
Expand Down Expand Up @@ -184,7 +184,3 @@ CMD ["/usr/bin/kompose", "convert", "-f", "/in/compose.yaml", "--out", "/out"]

This Dockerfile bundles Kompose and defines the command to run this tool according
to the Compose Bridge transformation contract.

## What's next?

- [Explore the advanced integration](advanced-integration.md)
11 changes: 5 additions & 6 deletions content/manuals/compose/bridge/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ It also supplies a Kustomize overlay dedicated to Docker Desktop with:
To use the default transformation run the following command:

```console
$ compose-bridge convert
$ docker compose bridge convert
```

Compose looks for a `compose.yaml` file inside the current directory and then converts it.

The following output is displayed
```console
$ compose-bridge convert -f compose.yaml
$ docker compose bridge convert -f compose.yaml
Kubernetes resource api-deployment.yaml created
Kubernetes resource db-deployment.yaml created
Kubernetes resource web-deployment.yaml created
Expand Down Expand Up @@ -69,13 +69,13 @@ the standard deployment command `kubectl apply -k out/overlays/desktop/`.
If you want to convert a `compose.yaml` file that is located in another directory, you can run:

```console
$ compose-bridge convert -f <path-to-file>/compose.yaml
$ docker compose bridge convert -f <path-to-file>/compose.yaml
```

To see all available flags, run:

```console
$ compose-bridge convert --help
$ docker compose bridge convert --help
```

> [!TIP]
Expand All @@ -86,5 +86,4 @@ $ compose-bridge convert --help

## What's next?

- [Explore how you can customize Compose Bridge](customize.md)
- [Explore the advanced integration](advanced-integration.md)
- [Explore how you can customize Compose Bridge](customize.md)
13 changes: 13 additions & 0 deletions content/reference/cli/docker/compose/bridge/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
datafolder: compose-cli

Check failure on line 2 in content/reference/cli/docker/compose/bridge/_index.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'cli'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'cli'?", "location": {"path": "content/reference/cli/docker/compose/bridge/_index.md", "range": {"start": {"line": 2, "column": 21}}}, "severity": "ERROR"}
datafile: docker_compose_bridge

Check failure on line 3 in content/reference/cli/docker/compose/bridge/_index.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'docker_compose_bridge'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'docker_compose_bridge'?", "location": {"path": "content/reference/cli/docker/compose/bridge/_index.md", "range": {"start": {"line": 3, "column": 11}}}, "severity": "ERROR"}
title: docker compose bridge
layout: cli
---

<!--
Sorry, but the contents of this page are automatically generated from
Docker's source code. If you want to suggest a change to the text that appears
here, you'll need to find the string by searching this repo:
https://github.com/docker/compose
-->
13 changes: 13 additions & 0 deletions content/reference/cli/docker/compose/bridge/convert.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
datafolder: compose-cli

Check failure on line 2 in content/reference/cli/docker/compose/bridge/convert.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'cli'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'cli'?", "location": {"path": "content/reference/cli/docker/compose/bridge/convert.md", "range": {"start": {"line": 2, "column": 21}}}, "severity": "ERROR"}
datafile: docker_compose_bridge_convert

Check failure on line 3 in content/reference/cli/docker/compose/bridge/convert.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'docker_compose_bridge_convert'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'docker_compose_bridge_convert'?", "location": {"path": "content/reference/cli/docker/compose/bridge/convert.md", "range": {"start": {"line": 3, "column": 11}}}, "severity": "ERROR"}
title: docker compose bridge convert
layout: cli
---

<!--
Sorry, but the contents of this page are automatically generated from
Docker's source code. If you want to suggest a change to the text that appears
here, you'll need to find the string by searching this repo:
https://github.com/docker/compose
-->
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
datafolder: compose-cli

Check failure on line 2 in content/reference/cli/docker/compose/bridge/transformations/_index.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'cli'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'cli'?", "location": {"path": "content/reference/cli/docker/compose/bridge/transformations/_index.md", "range": {"start": {"line": 2, "column": 21}}}, "severity": "ERROR"}
datafile: docker_compose_bridge_transformations

Check failure on line 3 in content/reference/cli/docker/compose/bridge/transformations/_index.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'docker_compose_bridge_transformations'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'docker_compose_bridge_transformations'?", "location": {"path": "content/reference/cli/docker/compose/bridge/transformations/_index.md", "range": {"start": {"line": 3, "column": 11}}}, "severity": "ERROR"}
title: docker compose bridge transformations
layout: cli
---

<!--
Sorry, but the contents of this page are automatically generated from
Docker's source code. If you want to suggest a change to the text that appears
here, you'll need to find the string by searching this repo:
https://github.com/docker/compose
-->
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
datafolder: compose-cli

Check failure on line 2 in content/reference/cli/docker/compose/bridge/transformations/create.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'cli'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'cli'?", "location": {"path": "content/reference/cli/docker/compose/bridge/transformations/create.md", "range": {"start": {"line": 2, "column": 21}}}, "severity": "ERROR"}
datafile: docker_compose_bridge_transformations_create

Check failure on line 3 in content/reference/cli/docker/compose/bridge/transformations/create.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'docker_compose_bridge_transformations_create'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'docker_compose_bridge_transformations_create'?", "location": {"path": "content/reference/cli/docker/compose/bridge/transformations/create.md", "range": {"start": {"line": 3, "column": 11}}}, "severity": "ERROR"}
title: docker compose bridge transformations create
layout: cli
---

<!--
Sorry, but the contents of this page are automatically generated from
Docker's source code. If you want to suggest a change to the text that appears
here, you'll need to find the string by searching this repo:
https://github.com/docker/compose
-->
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
datafolder: compose-cli

Check failure on line 2 in content/reference/cli/docker/compose/bridge/transformations/list.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'cli'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'cli'?", "location": {"path": "content/reference/cli/docker/compose/bridge/transformations/list.md", "range": {"start": {"line": 2, "column": 21}}}, "severity": "ERROR"}
datafile: docker_compose_bridge_transformations_list
title: docker compose bridge transformations list
layout: cli
---

<!--
Sorry, but the contents of this page are automatically generated from
Docker's source code. If you want to suggest a change to the text that appears
here, you'll need to find the string by searching this repo:
https://github.com/docker/compose
-->
Loading