Skip to content

Commit 521f328

Browse files
authored
ENGDOCS-2709 (#22799)
<!--Delete sections as needed --> ## Description Fixes Compose Bridge CLI docs not displaying and updates the docs to the new commands ## Related issues or tickets <!-- Related issues, pull requests, or Jira tickets --> ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [ ] Editorial review - [ ] Product review
1 parent 27a9303 commit 521f328

File tree

9 files changed

+76
-60
lines changed

9 files changed

+76
-60
lines changed

content/manuals/compose/bridge/_index.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ To get started with Compose Bridge, you need to:
3030

3131
1. Download and install Docker Desktop version 4.33 and later.
3232
2. Sign in to your Docker account.
33-
3. Navigate to the **Features in development** tab in **Settings**.
34-
4. From the **Experimental features** tab, select **Enable Compose Bridge**.
33+
3. Navigate to the **Beta features** tab in **Settings**.
34+
4. Select **Enable Compose Bridge**.
3535
5. Select **Apply & restart**.
3636

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

4343
- [Use Compose Bridge](usage.md)
44-
- [Explore how you can customize Compose Bridge](customize.md)
45-
- [Explore the advanced integration](advanced-integration.md)
44+
- [Explore how you can customize Compose Bridge](customize.md)

content/manuals/compose/bridge/advanced-integration.md

Lines changed: 0 additions & 43 deletions
This file was deleted.

content/manuals/compose/bridge/customize.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ decisions and preferences, with various level of flexibility and effort.
9191
### Modify the default templates
9292

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

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

108108
```console
109-
$ compose-bridge convert --transformations mycompany/transform
109+
$ docker compose bridge convert --transformations mycompany/transform
110110
```
111111

112112
### Add your own templates
@@ -152,7 +152,7 @@ when transforming Compose models into Kubernetes in addition to other
152152
transformations:
153153

154154
```console
155-
$ compose-bridge convert \
155+
$ docker compose bridge convert \
156156
--transformation docker/compose-bridge-kubernetes \
157157
--transformation mycompany/transform
158158
```
@@ -184,7 +184,3 @@ CMD ["/usr/bin/kompose", "convert", "-f", "/in/compose.yaml", "--out", "/out"]
184184

185185
This Dockerfile bundles Kompose and defines the command to run this tool according
186186
to the Compose Bridge transformation contract.
187-
188-
## What's next?
189-
190-
- [Explore the advanced integration](advanced-integration.md)

content/manuals/compose/bridge/usage.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ It also supplies a Kustomize overlay dedicated to Docker Desktop with:
2929
To use the default transformation run the following command:
3030

3131
```console
32-
$ compose-bridge convert
32+
$ docker compose bridge convert
3333
```
3434

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

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

7171
```console
72-
$ compose-bridge convert -f <path-to-file>/compose.yaml
72+
$ docker compose bridge convert -f <path-to-file>/compose.yaml
7373
```
7474

7575
To see all available flags, run:
7676

7777
```console
78-
$ compose-bridge convert --help
78+
$ docker compose bridge convert --help
7979
```
8080

8181
> [!TIP]
@@ -86,5 +86,4 @@ $ compose-bridge convert --help
8686
8787
## What's next?
8888

89-
- [Explore how you can customize Compose Bridge](customize.md)
90-
- [Explore the advanced integration](advanced-integration.md)
89+
- [Explore how you can customize Compose Bridge](customize.md)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
datafolder: compose-cli
3+
datafile: docker_compose_bridge
4+
title: docker compose bridge
5+
layout: cli
6+
---
7+
8+
<!--
9+
Sorry, but the contents of this page are automatically generated from
10+
Docker's source code. If you want to suggest a change to the text that appears
11+
here, you'll need to find the string by searching this repo:
12+
https://github.com/docker/compose
13+
-->
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
datafolder: compose-cli
3+
datafile: docker_compose_bridge_convert
4+
title: docker compose bridge convert
5+
layout: cli
6+
---
7+
8+
<!--
9+
Sorry, but the contents of this page are automatically generated from
10+
Docker's source code. If you want to suggest a change to the text that appears
11+
here, you'll need to find the string by searching this repo:
12+
https://github.com/docker/compose
13+
-->
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
datafolder: compose-cli
3+
datafile: docker_compose_bridge_transformations
4+
title: docker compose bridge transformations
5+
layout: cli
6+
---
7+
8+
<!--
9+
Sorry, but the contents of this page are automatically generated from
10+
Docker's source code. If you want to suggest a change to the text that appears
11+
here, you'll need to find the string by searching this repo:
12+
https://github.com/docker/compose
13+
-->
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
datafolder: compose-cli
3+
datafile: docker_compose_bridge_transformations_create
4+
title: docker compose bridge transformations create
5+
layout: cli
6+
---
7+
8+
<!--
9+
Sorry, but the contents of this page are automatically generated from
10+
Docker's source code. If you want to suggest a change to the text that appears
11+
here, you'll need to find the string by searching this repo:
12+
https://github.com/docker/compose
13+
-->
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
datafolder: compose-cli
3+
datafile: docker_compose_bridge_transformations_list
4+
title: docker compose bridge transformations list
5+
layout: cli
6+
---
7+
8+
<!--
9+
Sorry, but the contents of this page are automatically generated from
10+
Docker's source code. If you want to suggest a change to the text that appears
11+
here, you'll need to find the string by searching this repo:
12+
https://github.com/docker/compose
13+
-->

0 commit comments

Comments
 (0)