From 20e3e4c434ec63a4a61b171d61ca11dd16b2289d Mon Sep 17 00:00:00 2001 From: Mark <40328786+MarkShen1992@users.noreply.github.com> Date: Thu, 5 Jan 2023 21:54:19 +0800 Subject: [PATCH] bug fixed: correct the docker-compose command. rename command name from `docker compose` to `docker-compose`. Signed-off-by: Mark <40328786+MarkShen1992@users.noreply.github.com> --- wordpress-mysql/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wordpress-mysql/README.md b/wordpress-mysql/README.md index 2cc3578..d2e65a9 100644 --- a/wordpress-mysql/README.md +++ b/wordpress-mysql/README.md @@ -37,7 +37,7 @@ port 80 of the host as specified in the compose file. ## Deploy with docker compose ``` -$ docker compose up -d +$ docker-compose up -d Creating network "wordpress-mysql_default" with the default driver Creating volume "wordpress-mysql_db_data" with default driver ... @@ -63,10 +63,10 @@ Navigate to `http://localhost:80` in your web browser to access WordPress. Stop and remove the containers ``` -$ docker compose down +$ docker-compose down ``` To remove all WordPress data, delete the named volumes by passing the `-v` parameter: ``` -$ docker compose down -v +$ docker-compose down -v ```