From a74784ca0acf7697664eec740dfe4181117b287c Mon Sep 17 00:00:00 2001 From: Javier Medeot Date: Fri, 28 Jun 2024 12:12:57 -0300 Subject: [PATCH] Add changes from review --- .../monitoring-docker.rst | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/source/proof-of-concept-guide/monitoring-docker.rst b/source/proof-of-concept-guide/monitoring-docker.rst index e3b5ff8083..753bf77b35 100644 --- a/source/proof-of-concept-guide/monitoring-docker.rst +++ b/source/proof-of-concept-guide/monitoring-docker.rst @@ -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 `__ description for more information. + This command modifies the default externally managed Python environment. See the `PEP 668 `__ 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: ``#!/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: ``#!/bin/python3``. #. Edit the Wazuh agent configuration file ``/var/ossec/etc/ossec.conf`` and add this block to enable the ``docker-listener`` module: