Installing dependencies


The Docker listener module can be configured in the Wazuh manager (which also behaves as an agent) or directly in a Wazuh agent.


The Wazuh manager includes all dependencies installed, these steps are only necessary when configuring the integration in a Wazuh agent.


The Docker listener module requires Python 3. It is compatible with Python 3.6 to Python 3.9. Future Python releases should maintain compatibility although it cannot be guaranteed.

# yum update && yum install python3
# apt-get update && apt-get install python3

It is recommended to use a pip version greater than or equal to 19.3 to ease the installation of the required dependencies.

# pip3 install --upgrade pip


The required modules can be installed with Pip, the Python package manager. Most of UNIX distributions have this tool available in their software repositories:

# yum update && yum install python3-pip
# apt-get update && apt-get install python3-pip

Python Docker Library

Python Docker library is the official Python library for the Docker Engine API. The Wazuh docker integration requires docker 4.2.0.

To install the Python Docker Library, execute the following command:

# pip3 install docker==4.2.0