diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 0d036999..e67a9a5b 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -192,7 +192,7 @@ jobs: run: sed -i "s//$(ip addr show docker0 | grep 'inet ' | awk '{print $2}' | cut -d'/' -f1)/g" wazuh-agent/docker-compose.yml - name: Start Wazuh agent - run: docker-compose -f wazuh-agent/docker-compose.yml up -d + run: docker compose -f wazuh-agent/docker-compose.yml up -d - name: Check Wazuh agent enrollment run: | @@ -355,7 +355,7 @@ jobs: run: sed -i "s//$(ip addr show docker0 | grep 'inet ' | awk '{print $2}' | cut -d'/' -f1)/g" wazuh-agent/docker-compose.yml - name: Start Wazuh agent - run: docker-compose -f wazuh-agent/docker-compose.yml up -d + run: docker compose -f wazuh-agent/docker-compose.yml up -d - name: Check Wazuh agent enrollment run: | diff --git a/docs/ref/getting-started/deployment/multi-node.md b/docs/ref/getting-started/deployment/multi-node.md index 8c096fea..19f9e968 100644 --- a/docs/ref/getting-started/deployment/multi-node.md +++ b/docs/ref/getting-started/deployment/multi-node.md @@ -17,18 +17,18 @@ This deployment utilizes the `multi-node/docker-compose.yml` file, which defines 3. Run the script to generate the necessary certificates for the Wazuh Stack. This ensures secure communication between the nodes: ```bash - docker-compose -f generate-indexer-certs.yml run --rm generator + docker compose -f generate-indexer-certs.yml run --rm generator ``` -4. Start the Wazuh environment using `docker-compose`: +4. Start the Wazuh environment using `docker compose`: * To run in the foreground (logs will be displayed in your current terminal; press `Ctrl+C` to stop): ```bash - docker-compose up + docker compose up ``` * To run in the background (detached mode, allowing the containers to run independently of your terminal): ```bash - docker-compose up -d + docker compose up -d ``` Please allow some time for the environment to initialize, especially on the first run. A multi-node setup can take a few minutes (depending on your host resources and network) as the Wazuh Indexer cluster forms, and the necessary indexes and index patterns are generated. diff --git a/docs/ref/getting-started/deployment/single-node.md b/docs/ref/getting-started/deployment/single-node.md index b36f8190..f5ab7eb8 100644 --- a/docs/ref/getting-started/deployment/single-node.md +++ b/docs/ref/getting-started/deployment/single-node.md @@ -17,18 +17,18 @@ This deployment uses the `single-node/docker-compose.yml` file, which defines a 3. Run the script to generate the necessary certificates for the Wazuh Stack. This ensures secure communication between the nodes: ```bash - docker-compose -f generate-indexer-certs.yml run --rm generator + docker compose -f generate-indexer-certs.yml run --rm generator ``` -4. Start the Wazuh environment using `docker-compose`: +4. Start the Wazuh environment using `docker compose`: * To run in the foreground (logs will be displayed in your current terminal; press `Ctrl+C` to stop): ```bash - docker-compose up + docker compose up ``` * To run in the background (detached mode, allowing the containers to run independently of your terminal): ```bash - docker-compose up -d + docker compose up -d ``` Please allow some time for the environment to initialize, especially on the first run. It can take approximately a minute or two (depending on your host's resources) as the Wazuh Indexer starts up and generates the necessary indexes and index patterns. diff --git a/docs/ref/getting-started/deployment/wazuh-agent.md b/docs/ref/getting-started/deployment/wazuh-agent.md index 82773d8d..718718a3 100644 --- a/docs/ref/getting-started/deployment/wazuh-agent.md +++ b/docs/ref/getting-started/deployment/wazuh-agent.md @@ -23,14 +23,14 @@ Follow these steps to deploy the Wazuh agent using Docker. ``` **Note:** Replace `` with the actual IP address or hostname of your Wazuh manager. -3. Start the environment using `docker-compose`: +3. Start the environment using `docker compose`: * To run in the foreground (logs will be displayed in your current terminal, and you can stop it with `Ctrl+C`): ```bash - docker-compose up + docker compose up ``` * To run in the background (detached mode, allowing the container to run independently of your terminal): ```bash - docker-compose up -d + docker compose up -d ``` \ No newline at end of file diff --git a/docs/ref/getting-started/getting-started.md b/docs/ref/getting-started/getting-started.md index d8297628..df2c9285 100644 --- a/docs/ref/getting-started/getting-started.md +++ b/docs/ref/getting-started/getting-started.md @@ -32,8 +32,8 @@ Before diving into the deployment, please ensure you have reviewed: git clone [https://github.com/wazuh/wazuh-docker.git](https://github.com/wazuh/wazuh-docker.git) cd wazuh-docker git checkout v4.13.0 - # Navigate to the specific docker-compose directory, e.g., single-node or multi-node - # cd docker-compose/single-node/ (example path) + # Navigate to the specific directory, e.g., single-node or multi-node + # cd single-node/ (example path) ``` Alternatively, you might download specific `docker-compose.yml` files if provided as part of a release package.