Flexera Container Monitor
The monitor uses Docker Compose to:
| • | Mount /etc/os-release and /etc/hostname as read-only to capture host details |
| • | Map /var/run/docker.sock to scan running containers and identify images |
To download and install the Flexera Container Monitor:
| 1. | Go to the Inventory Settings page (Data Collection > IT Assets Inventory Tasks > Inventory Settings). |
The Inventory Settings page displays.
| 2. | Go to the Inventory agent for download section to see the Download Flexera Kubernetes inventory agent link. |
| 3. | Click Download Flexera Kubernetes inventory agent and save the downloaded archive file to a suitable location. |
| 4. | From the downloaded archive, extract the Flexera Kubernetes inventory agent image and then navigate to the extracted directory, for example with the following command line (replacing the placeholder x.y.z with the appropriate version numbers): |
tar xzf flexera-krm-operator-x.y.z.tar.gz
cd flexera-krm-operator-x.y.z
| 5. | Navigate into the |-> containermonitor-a.b.c directory (where a.b.c represents the version number). |
| 6. | Follow the instructions in the readme.txt file in this directory. |
Requirements
Docker Compose must be available.
RHEL / CentOS
sudo yum update
sudo yum install docker-compose-plugin
Ubuntu / Debian
sudo apt-get update
sudo apt-get install docker-compose-plugin
Manual Install (All Linux Distros)
sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
Verify Installation
docker compose version
Configuration and Installation
| 1. | Load the container image: |
docker load < flexera-container-monitor-1.0.3.tar
| 2. | Configure the bootstrap beacon by editing the mgsft_rollout_response file with the appropriate beacon configuration. |
Running the Container
Start the container in detached mode:
docker-compose up --detach
Managing the Container
| • | Viewing logs |
docker logs flexera-container-monitor
| • | Accessing the container shell |
docker exec -it flexera-container-monitor /bin/bash
| • | Stopping and removing the container |
docker-compose down