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:
FortiManager/FortiAnalyzer
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:
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>
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
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):
6) After, select the link. It will direct the user to the FortiManager GUI:
Note:
The https:// prefix is required to access the GUI from port 443.
Related documents:
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.