Deployment using Docker Desktop running on macOS
Once Docker Desktop is installed, you gain access to a wide array of functionalities through the intuitive graphical user interface (GUI). You can effortlessly pull images from repositories, create volumes for persistent data storage, and seamlessly set up new Docker applications. The user-friendly interface empowers you to manage containers, networks, and images with ease. This makes the process of containerization and deployment more streamlined and efficient.
After downloading the FortiAnalyzer Docker image from Docker Hub, you can run a FortiAnalyzer Docker instance using the Docker Desktop GUI using the steps below.
To create a volume via Docker Desktop and map it to the docker application when running the instance:
-
In the Docker Desktop, go to Images > Local.
-
Find the FortiAnalyzer image and click Run.
The Run a new container dialog displays.
-
Configure the optional settings and click Run.
-
In the Docker Desktop, go to Volumes and click Create.
-
In the New Volume dialog, name the volume and click Create.
In this example,
To access Docker volumes on macOS:
-
Create temporary containers.
Create temporary Docker containers using the same volumes that you want to access. This will allow you to access the volume content.
-
Copy the volume content.
Inside the temporary containers, copy the content of the volumes to a location that you can easily access on your macOS file system.
-
Access the volume data.
After copying the volume content, you can access it from the location where you copied it to.
This process allows you to access the data within Docker volumes on macOS by temporarily creating containers to access and copy the volume content.
Although the images below display an example with FortiManager, the same instructions apply for FortiAnalyzer.