Skip to content

Commit

Permalink
Add changes from review
Browse files Browse the repository at this point in the history
  • Loading branch information
javimed committed Jun 28, 2024
1 parent 3080b37 commit a74784c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions source/proof-of-concept-guide/monitoring-docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,27 +38,27 @@ Perform the following steps to install Docker on the Ubuntu endpoint and configu
#. Install Docker and Python Docker Library:

.. tabs::
.. tabs::

.. group-tab:: Python 3.7–3.10
.. group-tab:: Python 3.7–3.10

.. code-block:: console
.. code-block:: console
$ curl -sSL https://get.docker.com/ | sh
$ sudo pip3 install docker==7.1.0 urllib3==2.2.2 requests==2.32.2
$ curl -sSL https://get.docker.com/ | sh
$ sudo pip3 install docker==7.1.0 urllib3==2.2.2 requests==2.32.2
.. group-tab:: Python 3.11
.. group-tab:: Python 3.11

.. code-block:: console
.. code-block:: console
$ curl -sSL https://get.docker.com/ | sh
$ sudo pip3 install docker==7.1.0 urllib3==2.2.2 requests==2.32.2 --break-system-packages
$ curl -sSL https://get.docker.com/ | sh
$ sudo pip3 install docker==7.1.0 urllib3==2.2.2 requests==2.32.2 --break-system-packages
.. note::
.. note::

This command modifies the default externally managed Python environment. See the `PEP 668 <https://peps.python.org/pep-0668/>`__ description for more information.
This command modifies the default externally managed Python environment. See the `PEP 668 <https://peps.python.org/pep-0668/>`__ description for more information.

To prevent the modification, you can run ``pip3 install --upgrade pip`` within a virtual environment. You must update the docker ``/var/ossec/wodles/docker/DockerListener`` script shebang with your virtual environment interpreter. For example: ``#!</path/to/your/virtual/environment>/bin/python3``.
To prevent the modification, you can run ``pip3 install --upgrade pip`` within a virtual environment. You must update the docker ``/var/ossec/wodles/docker/DockerListener`` script shebang with your virtual environment interpreter. For example: ``#!</path/to/your/virtual/environment>/bin/python3``.

#. Edit the Wazuh agent configuration file ``/var/ossec/etc/ossec.conf`` and add this block to enable the ``docker-listener`` module:

Expand Down

0 comments on commit a74784c

Please sign in to comment.