Enhance docker docs structure

This commit is contained in:
Jesus Garcia
2026-02-11 08:21:37 -05:00
parent 8f50eee1d0
commit f7efef25d7
11 changed files with 290 additions and 5 deletions
+55
View File
@@ -0,0 +1,55 @@
# Uninstall
This section describes how to uninstall a Wazuh Docker deployment by stopping and removing the resources created.
## Uninstalling single-node and multi-node deployments
1. Navigate to the deployment directory (`single-node` or `multi-node`):
```bash
cd <deployment-directory>
```
2. Stop and remove the containers:
```bash
docker compose down --remove-orphans
```
3. Remove persistent volumes and all stored data:
```bash
docker compose down --volumes --remove-orphans
```
4. Remove generated or downloaded files:
```bash
rm -rf wazuh-certificates/ config.yml wazuh-certs-tool.sh
```
5. Verify that the deployment is removed:
```bash
docker ps
```
## Wazuh agent deployment
1. Navigate to the agent deployment directory:
```bash
cd wazuh-agent
```
2. Stop and remove the container:
```bash
docker compose down --remove-orphans
```
3. Verify that the deployment is removed:
```bash
docker ps
```