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.

  1. Run the following command from the wazuh-docker directory to stop the current v4.3.x environment:

    # docker-compose down
    
  2. Set the new version of Wazuh:

    • If you have a customized docker-compose.yml file 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.yml file of the new version. Navigate to the Git branch of the latest version:

      # git checkout v4.3.10
      
  3. Start the new version of Wazuh using docker-compose:

    # docker-compose up -d