diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 78cdf8268..ef6f2dc9f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -48,7 +48,7 @@ make build # executable: ./bin/yorkie You can set testing environment via Docker Compose. It is needed because integration tests require local applications like MongoDB. ```sh -docker-compose -f build/docker/docker-compose.yml up --build -d +docker compose -f build/docker/docker-compose.yml up --build -d make test ``` diff --git a/build/docker/README.md b/build/docker/README.md index 58e2afb05..ef18072f2 100644 --- a/build/docker/README.md +++ b/build/docker/README.md @@ -5,14 +5,14 @@ running multi-container Docker applications. We use Docker Compose to run the applications needed during Yorkie development. When developing Yorkie, we can easily run the required dependant applications -through `docker-compose` command. +through `docker compose` command. ```bash -# Run docker-compose up and Compose starts and runs apps. -docker-compose -f docker/docker-compose.yml up --build -d +# Run docker compose up and Compose starts and runs apps. +docker compose -f docker/docker-compose.yml up --build -d # Shut down the apps -docker-compose -f docker/docker-compose.yml down +docker compose -f docker/docker-compose.yml down ``` The docker-compose files we use are as follows: