Add unninstal steps

This commit is contained in:
Victor Carlos Erenu
2026-04-01 02:28:42 +07:00
parent 0f142766cc
commit 1ac37f1ee8
+6 -12
View File
@@ -10,25 +10,19 @@ This section describes how to uninstall a Wazuh Docker deployment by stopping an
cd <deployment-directory>
```
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: