Upgrading Wazuh Docker
This section describes how to upgrade Wazuh Docker deployments starting from version 4.3. To upgrade Wazuh deployments below version 4.3 (production deployment), refer to the Migrating data from Opendistro to the Wazuh indexer documentation.
Run the following command from the
wazuh-dockerdirectory to stop the current v4.3.x environment:# docker-compose downSet the new version of Wazuh:
If you have a customized
docker-compose.ymlfile and want to preserve it. Edit it and change the version of the images to the new version.If you want to use the default
docker-compose.ymlfile of the new version. Navigate to the Git branch of the latest version:# git checkout v4.3.11
Start the new version of Wazuh using
docker-compose:# docker-compose up -d