From d16a610c42a153092d1a72cbfaa0e8b6b6145255 Mon Sep 17 00:00:00 2001 From: Bokyeom <79684339+k-kbk@users.noreply.github.com> Date: Fri, 28 Mar 2025 02:28:19 +0900 Subject: [PATCH] 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 --- content/guides/java/containerize.md | 2 +- content/guides/nodejs/containerize.md | 2 +- content/guides/nodejs/develop.md | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/guides/java/containerize.md b/content/guides/java/containerize.md index aa2e235e5c..b3cbfff037 100644 --- a/content/guides/java/containerize.md +++ b/content/guides/java/containerize.md @@ -204,7 +204,7 @@ services: # start the database before your application. The `db-data` volume persists the # database data between container restarts. The `db-password` secret is used # to set the database password. You must create `db/password.txt` and add -# a password of your choosing to it before running `docker-compose up`. +# a password of your choosing to it before running `docker compose up`. # depends_on: # db: # condition: service_healthy diff --git a/content/guides/nodejs/containerize.md b/content/guides/nodejs/containerize.md index bcff0d92a2..0f54039de9 100644 --- a/content/guides/nodejs/containerize.md +++ b/content/guides/nodejs/containerize.md @@ -141,7 +141,7 @@ services: # start the database before your application. The `db-data` volume persists the # database data between container restarts. The `db-password` secret is used # to set the database password. You must create `db/password.txt` and add -# a password of your choosing to it before running `docker-compose up`. +# a password of your choosing to it before running `docker compose up`. # depends_on: # db: # condition: service_healthy diff --git a/content/guides/nodejs/develop.md b/content/guides/nodejs/develop.md index 0d1afc4e69..0e89237518 100644 --- a/content/guides/nodejs/develop.md +++ b/content/guides/nodejs/develop.md @@ -58,7 +58,7 @@ You can use containers to set up local services, like a database. In this sectio # start the database before your application. The `db-data` volume persists the # database data between container restarts. The `db-password` secret is used # to set the database password. You must create `db/password.txt` and add - # a password of your choosing to it before running `docker-compose up`. + # a password of your choosing to it before running `docker compose up`. depends_on: db: @@ -128,7 +128,7 @@ You can use containers to set up local services, like a database. In this sectio # start the database before your application. The `db-data` volume persists the # database data between container restarts. The `db-password` secret is used # to set the database password. You must create `db/password.txt` and add - # a password of your choosing to it before running `docker-compose up`. + # a password of your choosing to it before running `docker compose up`. depends_on: db: @@ -188,7 +188,7 @@ You can use containers to set up local services, like a database. In this sectio # start the database before your application. The `db-data` volume persists the # database data between container restarts. The `db-password` secret is used # to set the database password. You must create `db/password.txt` and add - # a password of your choosing to it before running `docker-compose up`. + # a password of your choosing to it before running `docker compose up`. depends_on: db: