Skip to content

Commit 286c774

Browse files
authored
Merge pull request #8845 from wazuh/enhancement/301-agent-changes-to-docker
add agent changes to wazuh docker
2 parents 25983bc + 6bf10c2 commit 286c774

File tree

3 files changed

+25
-12
lines changed

3 files changed

+25
-12
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ All notable changes to this project will be documented in this file.
1414
- Added information about filters in the Windows agent to block UNC and mapped drive paths to mitigate *NetNTLMv2* vulnerabilities. ([#8665](https://github.com/wazuh/wazuh-documentation/pull/8665))
1515
- Added the Wazuh global queries documentation. ([#8722](https://github.com/wazuh/wazuh-documentation/pull/8722))
1616
- Added `remoted.ctrl_msg_queue_size` internal option and new remoted statistics fields. ([#8769](https://github.com/wazuh/wazuh-documentation/pull/8769))
17-
- Added Wazuh agent deployment on Docker documentation. ([#8798](https://github.com/wazuh/wazuh-documentation/pull/8798))
17+
- Added Wazuh agent deployment on Docker documentation. ([#8798](https://github.com/wazuh/wazuh-documentation/pull/8798)) ([#8845](https://github.com/wazuh/wazuh-documentation/pull/8845))
1818

1919
### Changed
2020

source/deployment-options/docker/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Wazuh provides official Docker images that you can install to streamline deploym
1414
- `wazuh-manager <https://hub.docker.com/r/wazuh/wazuh-manager>`__
1515
- `wazuh-indexer <https://hub.docker.com/r/wazuh/wazuh-indexer>`__
1616
- `wazuh-dashboard <https://hub.docker.com/r/wazuh/wazuh-dashboard>`__
17-
- ``wazuh-agent``
17+
- `wazuh-agent <https://hub.docker.com/r/wazuh/wazuh-agent>`__
1818

1919
You can find all available Wazuh Docker images on `Docker Hub <https://hub.docker.com/u/wazuh>`__.
2020

source/deployment-options/docker/wazuh-container.rst

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Wazuh supports the deployment of its central components and agent on Docker.
3030

3131
This deployment stack provides persistent storage, secure communication, and high availability.
3232

33-
- You can deploy a `Wazuh agent`_ container on a Docker host.
33+
- `Wazuh agent`_: This deploys the Wazuh agent as a container on your Docker host.
3434

3535
Prerequisites
3636
-------------
@@ -58,6 +58,15 @@ Multi-node stack deployment
5858
- **Memory**: At least 16 GB for the Docker host
5959
- **Disk space**: At least 100 GB storage for Docker images and data volumes
6060

61+
Wazuh agent deployment
62+
~~~~~~~~~~~~~~~~~~~~~~
63+
64+
- **Operating system**: Linux
65+
- **Architecture**: AMD64
66+
- **CPU**: At least 2 cores
67+
- **Memory**: At least 1 GB of RAM for the Docker host
68+
- **Disk space**: At least 10 GB storage for Docker images and logs
69+
6170
Required software
6271
^^^^^^^^^^^^^^^^^
6372

@@ -159,6 +168,7 @@ You must provide certificates for each node to secure communication between them
159168
#. **Optional**: Add the following to the ``generate-indexer-certs.yml`` file if your system uses a proxy. If not, skip this step. Replace ``<YOUR_PROXY_ADDRESS_OR_DNS>`` with your proxy information.
160169

161170
.. code-block:: yaml
171+
:emphasize-lines: 9,10
162172
163173
# Wazuh App Copyright (C) 2017, Wazuh Inc. (License GPLv2)
164174
services:
@@ -297,6 +307,7 @@ You must provide certificates for each node to secure communication between them
297307
#. **Optional**: Add the following to the ``generate-indexer-certs.yml`` file if your system uses a proxy. If not, skip this step. Replace ``<YOUR_PROXY_ADDRESS_OR_DNS>`` with your proxy information.
298308

299309
.. code-block:: yaml
310+
:emphasize-lines: 9,10
300311
301312
# Wazuh App Copyright (C) 2017, Wazuh Inc. (License GPLv2)
302313
services:
@@ -356,7 +367,7 @@ Deployment
356367

357368
.. group-tab:: Background
358369

359-
.. code-block:: console
370+
.. code-block:: console
360371
361372
# docker compose up -d
362373
@@ -423,7 +434,7 @@ Follow these steps to deploy the Wazuh agent using Docker.
423434
#. Edit the ``docker-compose.yml`` file. Replace ``<YOUR_WAZUH_MANAGER_IP>`` with the IP address of your Wazuh manager. Locate the environment section for the agent service and update it:
424435

425436
.. code-block:: yaml
426-
:emphasize-lines: 7
437+
:emphasize-lines: 6,7
427438
428439
# Wazuh App Copyright (C) 2017, Wazuh Inc. (License GPLv2)
429440
services:
@@ -435,18 +446,20 @@ Follow these steps to deploy the Wazuh agent using Docker.
435446
volumes:
436447
- ./config/wazuh-agent-conf:/wazuh-config-mount/etc/ossec.conf
437448
438-
#. Start the Wazuh agent deployment using ``docker-compose``:
449+
#. Start the Wazuh agent deployment using ``docker compose``:
450+
451+
.. tabs::
439452

440-
- **Background**:
453+
.. group-tab:: Background
441454

442-
.. code-block:: console
455+
.. code-block:: console
443456
444-
# docker-compose up -d
457+
# docker compose up -d
445458
446-
- **Foreground**:
459+
.. group-tab:: Foreground
447460

448-
.. code-block:: console
461+
.. code-block:: console
449462
450-
# docker-compose up
463+
# docker compose up
451464
452465
#. Verify from your Wazuh dashboard that the Wazuh agent deployment was successful and visible. Navigate to the **Agent management** > **Summary**, and you should see the Wazuh agent container active on your dashboard.

0 commit comments

Comments
 (0)