forked from wazuh/wazuh-docker
1022 B
1022 B
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
-
Navigate to the deployment directory (
single-nodeormulti-node):cd <deployment-directory> -
Stop and remove the containers:
docker compose down --remove-orphans -
Remove persistent volumes and all stored data:
docker compose down --volumes --remove-orphans -
Remove generated or downloaded files:
rm -rf wazuh-certificates/ config.yml wazuh-certs-tool.sh -
Verify that the deployment is removed:
docker ps
Wazuh agent deployment
-
Navigate to the agent deployment directory:
cd wazuh-agent -
Stop and remove the container:
docker compose down --remove-orphans -
Verify that the deployment is removed:
docker ps