Upgrading the Wazuh Docker deployment
To upgrade your Wazuh deployment using Docker, update the image tags in the docker-compose.yml file to the target version (5.0.0) and redeploy the stack.
Follow these steps to upgrade your deployment using the default docker-compose.yml file:
Stop the current deployment
Stop and remove the running containers:
# docker compose down
Start the updated deployment
Start the upgraded Wazuh Docker environment using the
docker composecommand:# docker compose up -d
Your data and certificates remain persistent because they are stored in mounted Docker volumes. This means upgrading the environment does not erase your existing configuration or indexed data.