FortiAnalyzer
FortiAnalyzer can receive logs and Windows host events directly from endpoints connected to EMS, and you can use FortiAnalyzer to analyze the logs and run reports.
RuiChang
Staff
Staff
Article Id 248690
Description

 

This article describes the deployment of FortiManager/FortiAnalyzer on Docker Desktop. Example provided in this article is performed with Docker Desktop in Windows 11 with FortiManager docker.

Traditional virtualization will require each virtual machine to deploy an OS. In Docker Desktop, virtualization can be performed on OS-level and every application is managed under a container.

Docker Desktop is a tool for docker and it comes in multiple OS variants as shown below:

 

RuiChang_0-1678579591413.png

 

Scope

 

FortiManager/FortiAnalyzer

 

Solution

 

1) In FortiManager and FortiAnalyzer v7.0.1 onwards, a docker image is provided. Users are able to pull the image from the docker hub to deploy FortiManager/FortiAnalyzer with docker. 

 

2) Follow the steps to install and set up the docker described in this document:

https://docs.fortinet.com/document/fortianalyzer/7.0.0/new-features/843448/fortinet-verified-publish...

 

3) Next, run the images with the command below:

 

Docker run -it --restart always -p <Port Mapping>:443 -p <Port Mapping>:22 -p <Port Mapping>:541 --cap-add=ALL <image ID>:<Tag>

 

RuiChang_14-1678436087099.png

 

Note:

Port 443 is used for HTTPS, port 22 is used for SSH, and port 541 is used for the FortiGate-FortiManager tunnel.

 

4) Verify that the image was launched successfully with the following FortiManager or FortiAnalyzer CLI command:

 

# get system status

 

RuiChang_15-1678436164868.png

 

5) After the FortiManager or FortiAnalyzer instance is deployed successfully, the GUI is accessible from the link under Docker Desktop -> Images -> In Use -> Port(s):

 

RuiChang_16-1678436200846.png

 

6) After, select the link. It will direct the user to the FortiManager GUI:

 

RuiChang_17-1678436228602.png

 

Note:

The https:// prefix is required to access the GUI from port 443.

 

Related documents:

- https://video.fortinet.com/latest/fortimanager-docker-container-installation-licensing-and-running-o...

- https://docs.fortinet.com/document/fortianalyzer/7.0.0/new-features/843448/fortinet-verified-publish...