From 1ac37f1ee82b7c6b3976a490f15acb0a5b1c268e Mon Sep 17 00:00:00 2001 From: Victor Carlos Erenu Date: Wed, 1 Apr 2026 02:28:42 +0700 Subject: [PATCH] Add unninstal steps --- docs/ref/uninstall.md | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/docs/ref/uninstall.md b/docs/ref/uninstall.md index d2fafc1e..1e2a39cf 100644 --- a/docs/ref/uninstall.md +++ b/docs/ref/uninstall.md @@ -10,25 +10,19 @@ This section describes how to uninstall a Wazuh Docker deployment by stopping an cd ``` -2. Stop and remove the containers: +2. Stop and remove the containers, persistent volumes and all stored data: ```bash - docker compose down --remove-orphans + docker compose down -v ``` -3. Remove persistent volumes and all stored data: +3. Remove generated or downloaded files: ```bash - docker compose down --volumes --remove-orphans + rm -rf wazuh-certificates/ config.yml wazuh-certs-tool.sh config/*/certs ``` -4. Remove generated or downloaded files: - - ```bash - rm -rf wazuh-certificates/ config.yml wazuh-certs-tool.sh - ``` - -5. Verify that the deployment is removed: +4. Verify that the deployment is removed: ```bash docker ps @@ -45,7 +39,7 @@ This section describes how to uninstall a Wazuh Docker deployment by stopping an 2. Stop and remove the container: ```bash - docker compose down --remove-orphans + docker compose down ``` 3. Verify that the deployment is removed: