Skip to content

Commit d16a610

Browse files
authored
fix: replace docker-compose with docker compose CLI (#22320)
## Description Replace `docker-compose` with `docker compose` CLI in the Java and Node.js guides to align with the latest Docker standards and ensure consistency across the docs. ## Related issues or tickets Closes #22319 <!-- Related issues, pull requests, or Jira tickets -->
1 parent 6724a52 commit d16a610

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

content/guides/java/containerize.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ services:
204204
# start the database before your application. The `db-data` volume persists the
205205
# database data between container restarts. The `db-password` secret is used
206206
# to set the database password. You must create `db/password.txt` and add
207-
# a password of your choosing to it before running `docker-compose up`.
207+
# a password of your choosing to it before running `docker compose up`.
208208
# depends_on:
209209
# db:
210210
# condition: service_healthy

content/guides/nodejs/containerize.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ services:
141141
# start the database before your application. The `db-data` volume persists the
142142
# database data between container restarts. The `db-password` secret is used
143143
# to set the database password. You must create `db/password.txt` and add
144-
# a password of your choosing to it before running `docker-compose up`.
144+
# a password of your choosing to it before running `docker compose up`.
145145
# depends_on:
146146
# db:
147147
# condition: service_healthy

content/guides/nodejs/develop.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ You can use containers to set up local services, like a database. In this sectio
5858
# start the database before your application. The `db-data` volume persists the
5959
# database data between container restarts. The `db-password` secret is used
6060
# to set the database password. You must create `db/password.txt` and add
61-
# a password of your choosing to it before running `docker-compose up`.
61+
# a password of your choosing to it before running `docker compose up`.
6262

6363
depends_on:
6464
db:
@@ -128,7 +128,7 @@ You can use containers to set up local services, like a database. In this sectio
128128
# start the database before your application. The `db-data` volume persists the
129129
# database data between container restarts. The `db-password` secret is used
130130
# to set the database password. You must create `db/password.txt` and add
131-
# a password of your choosing to it before running `docker-compose up`.
131+
# a password of your choosing to it before running `docker compose up`.
132132

133133
depends_on:
134134
db:
@@ -188,7 +188,7 @@ You can use containers to set up local services, like a database. In this sectio
188188
# start the database before your application. The `db-data` volume persists the
189189
# database data between container restarts. The `db-password` secret is used
190190
# to set the database password. You must create `db/password.txt` and add
191-
# a password of your choosing to it before running `docker-compose up`.
191+
# a password of your choosing to it before running `docker compose up`.
192192

193193
depends_on:
194194
db:

0 commit comments

Comments
 (0)