From aa4b9fc27e4d338b0ef8d62aa9e0e8139e7abeff Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Thu, 3 Aug 2023 09:10:05 +0200 Subject: [PATCH] Replace references to docker-compose with docker compose --- CONTRIBUTING.md | 6 +++--- indocker | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 79b4c8b4..57173cc2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,9 +6,9 @@ You will also see how to ensure the code fulfills the expected code checks, and ## System dependencies -The project provides all its dependencies as docker containers through a docker-compose configuration. +The project provides all its dependencies as docker containers through a `docker compose` configuration. -Because of this, the only actual dependencies are [docker](https://docs.docker.com/get-docker/) and [docker-compose](https://docs.docker.com/compose/install/). +Because of this, the only actual dependencies are [docker](https://docs.docker.com/get-docker/) and [docker compose](https://docs.docker.com/compose/install/). ## Setting up the project @@ -21,7 +21,7 @@ Then you will have to follow these steps: For example the `common.local.php.dist` file should be copied as `common.local.php`. * Copy the file `docker-compose.override.yml.dist` by also removing the `dist` extension. -* Start-up the project by running `docker-compose up`. +* Start-up the project by running `docker compose up`. The first time this command is run, it will create several containers that are used during development, so it may take some time. diff --git a/indocker b/indocker index 789386ac..7cfbe2c3 100755 --- a/indocker +++ b/indocker @@ -2,7 +2,7 @@ # Run docker containers if they are not up yet if ! [[ $(docker ps | grep shlink_swoole) ]]; then - docker-compose up -d + docker compose up -d fi docker exec -it shlink_swoole /bin/sh -c "$*"