You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file.
14
14
- 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))
15
15
- Added the Wazuh global queries documentation. ([#8722](https://github.com/wazuh/wazuh-documentation/pull/8722))
16
16
- 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))
Copy file name to clipboardExpand all lines: source/deployment-options/docker/build-docker-images-locally.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
.. Copyright (C) 2015, Wazuh, Inc.
2
2
3
3
.. meta::
4
-
:description: You can modify and build Docker images for the Wazuh central components. Learn more in this section of the documentation.
4
+
:description: You can modify and build Docker images for the Wazuh central components and the Wazuh agent. Learn more in this section of the documentation.
5
5
6
6
Build Docker images locally
7
7
===========================
8
8
9
-
You can modify and build Docker images for the Wazuh central components (manager, indexer, and dashboard).
9
+
You can modify and build Docker images for the Wazuh central components (manager, indexer, and dashboard) and the Wazuh agent.
10
10
11
11
#. Clone the `Wazuh Docker repository <https://github.com/wazuh/wazuh-docker>`_ to your system:
Copy file name to clipboardExpand all lines: source/deployment-options/docker/container-usage.rst
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Access to services and containers
14
14
This section explains how to interact with your Wazuh deployment by accessing service logs and shell instances of running containers.
15
15
16
16
#. Access the Wazuh dashboard using the Docker host IP address.
17
-
#. Enroll agents through the standard :doc:`Wazuh agent enrollment </user-manual/agent/agent-enrollment/index>` process. Use the Docker host address as the Wazuh manager address.
17
+
#. Enroll agents through the :ref:`Wazuh agent Docker deployment <agent_deployment_docker>` or the standard :doc:`Wazuh agent enrollment </user-manual/agent/agent-enrollment/index>` process. Use the Docker host address as the Wazuh manager address.
18
18
#. List the containers in the directory where the Wazuh ``docker-compose.yml`` file is located:
19
19
20
20
.. code-block:: console
@@ -183,6 +183,10 @@ To customize the Wazuh configuration file ``/var/ossec/etc/ossec.conf``, modify
Copy file name to clipboardExpand all lines: source/deployment-options/docker/wazuh-container.rst
+76-61Lines changed: 76 additions & 61 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,15 @@ Wazuh consists of a multi-platform Wazuh agent and three central components: the
10
10
11
11
**Deployment options**
12
12
13
-
Wazuh supports the deployment of the central components on Docker.
13
+
Wazuh supports the deployment of the central components and agent on Docker.
14
14
15
15
- You can deploy `Wazuh central components`_ as a single-node or multi-node stack.
16
16
17
17
- **Single-node stack**: Runs one Wazuh manager, indexer, and dashboard node on the Docker host. Supports persistent storage and configurable certificates for secure communications.
18
18
- **Multi-node stack**: Runs two Wazuh manager nodes (one master, one worker), three indexer nodes, one dashboard, and one nginx node. Includes persistence, secure communication configuration, and high availability.
19
19
20
+
- You can deploy a `Wazuh agent`_ container on a Docker host.
21
+
20
22
Wazuh central components
21
23
------------------------
22
24
@@ -94,23 +96,23 @@ You must provide certificates for each node to secure communication between them
@@ -501,3 +461,58 @@ The ``wazuh-wui`` user is the default user for connecting to the Wazuh server AP
501
461
# docker-compose up -d
502
462
503
463
Refer to :ref:`log in to the Wazuh server API via the command line <api_log_in>` to learn more.
464
+
465
+
Wazuh agent
466
+
-----------
467
+
468
+
Running the Wazuh agent in a Docker container provides a lightweight option for integrations and for collecting logs via syslog, without installing the agent directly on a host. However, when deployed this way, the containerized agent cannot directly access or monitor the host system.
469
+
470
+
.. _agent_deployment_docker:
471
+
472
+
Deployment
473
+
^^^^^^^^^^
474
+
475
+
Follow these steps to deploy the Wazuh agent using Docker.
476
+
477
+
#. Clone the `Wazuh Docker repository <https://github.com/wazuh/wazuh-docker>`_ to your system:
#. Navigate to the ``wazuh-docker/wazuh-agent/`` directory within your repository:
484
+
485
+
.. code-block:: console
486
+
487
+
# cd wazuh-docker/wazuh-agent
488
+
489
+
#. 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:
490
+
491
+
.. code-block:: yaml
492
+
:emphasize-lines: 7
493
+
494
+
# Wazuh App Copyright (C) 2017, Wazuh Inc. (License GPLv2)
#. Start the Wazuh agent deployment using ``docker-compose``:
505
+
506
+
- **Background**:
507
+
508
+
.. code-block:: console
509
+
510
+
# docker-compose up -d
511
+
512
+
- **Foreground**:
513
+
514
+
.. code-block:: console
515
+
516
+
# docker-compose up
517
+
518
+
#. 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