Deployment using Windows CLI
To deploy using the Windows CLI:
-
Open a Windows command prompt or PowerShell terminal.
-
To verify the running wsl status and its version, enter
wsl -l -v
.This command is used to list the currently running Windows Subsystem for Linux (WSL) distributions along with their states and versions. For example, see below:
-
Enter the following command:
docker run -dit --name faz_OnWindowsOS --restart always --cap-add=ALL -v faz_OnWindowsOS_var:/var -v faz_OnWindowsOS_data:/data -p 44443:443 fortinet/fortianalyzer:7.2.3.1405
This command runs a detached, interactive Docker container named "faz_OnWindowsOS" based on the fortinet/fortianalyzer:7.2.3.1405 image. The container has all capabilities, uses two volumes for data persistence (faz_OnWindowsOS_var for /var and faz_OnWindowsOS_data for /data), and maps port 44443 on the host to port 443 in the container. The container will automatically restart if it stops or crashes.
The macvlan networking driver exclusively operates on Linux hosts and isn't supported on Docker Desktop for macOS and Windows. Consequently, when setting up an FMG/FAZ Docker app on Windows or macOS, it's essential to review the required ports for access or exposure.
Please refer to the |