cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tferguson
By Level 3 Flexeran
Level 3 Flexeran

A Docker container image is a package of all the scripts, software, runtime, system tools, libraries, and configuration required to run an application.  A container image can be launched as a Docker container in a lightweight isolated environment using the Docker Engine.  Like virtual machines, containers isolate resources.  However, while virtual machines abstract hardware and run individual operating system kernels, containers make it possible to run multiple isolated applications on a single operating system kernel instance.  Therefore, containers eliminate the weight of a hypervisor by executing directly on the Linux or Windows kernel. 

A comparison of virtualization and ContainerizationA comparison of virtualization and Containerization

 The simplicity of deployment, portability to any system, repeatability, efficient execution, and isolation is making container technology extremely popular in the enterprise.  The concept of containerization was not new with Linux.  AIX Workload Partitions (wPAR) and Solaris Zones have come before.  However, Docker has provided a far more complete ecosystem. 

Support for gathering inventory of Docker containers and inventory of the container images running on Linux has been introduced in the recent FlexNet Manager Suite 2020 R1 release.  In this initial phase, our aim (as described in a previous blog post Discovery and Inventory of Docker Containers in FlexNet Manager Suite 2020 R1is to provide visibility of running containers, the container images, and the recognized software within these images. 

This new capability has introduced a new component to the Linux FlexNet inventory agent: Flexera’s Docker tracker.  Docker tracker is responsible for monitoring the Docker Engine to discover containers as they start and stop.  Further to this, it is responsible for gathering raw evidence from container images. 

In the initial path chosen for inventorying Docker container images, Docker tracker waits for a container executing the image to be launched and performs a zero-footprint inventory on the executing container – in other words, there is no need for particular software to be pre-installed or specially configured inside the container.  The inventory gathering process involves the following steps: 

  1. Copy the lightweight inventory scanner, ndtrack.sh, into the container’s file system  
  2. Use the Docker Engine to execute ndtrack.sh within the container to gather inventory for the container’s image 
  3. Copy the resulting ndi inventory file out of the container into the inventory agent “upload” folder on the Docker host  
  4. Upload the ndi inventory files generated for both the container images and the host to the FlexNet Manager servers.  

This is illustrated in the following diagram: 

FlexNet inventory of Docker container imagesFlexNet inventory of Docker container images

By performing a zero-footprint inventory, the full capability of the FlexNet inventory agent is used to gather all types of raw installation evidence from each container image. 

To present the information obtained by the agent, several new UI elements have been introduced into FlexNet Manager.  The Discovery & Inventory > All Containers view displays information about all the container hosts, the Docker images on those hosts, and the containers created using those Docker images:

1.png

From here, a user can drill down into a container image’s properties:2.png

These image properties include a list of all the applications identified by the Application Recognition Library (ARL) from software evidence gathered from the image:3.png

Another tab highlights the evidence used to identify those applications.  It is worth noting in this example that it includes not just the RPM evidence of the containerized Linux operating system, but also the custom Oracle Universal Installer (OUI) technology used to install many Oracle applications.  This evidence, amongst others, is specifically identified and reported by the FlexNet inventory agent.4.png

It is also possible to open an inventory device’s properties and see all the Docker containers running on that device.5.png

This is an initial capability for working with containers.  As always, there is still more work that can be done.  Let us know in comments on this post about what additional capabilities you’d like to see – some potential capabilities under consideration include:

  • Support for Windows Docker containers
  • Gathering inventory from container management infrastructure such as Kubernetes
  • Static analysis of container images without the need to run images
  • Consider software running within containers when calculating license consumption

We hope you enjoy this early Docker container support and we look forward to your feedback!

(6) Comments
afilla
By
Level 6

Is Flexera planning to release a version of Inventory Beacon that can run within a Docker container to make it easier to deploy into non-Windows environments?

ChrisG
By Community Manager Community Manager
Community Manager

@afilla - I've not heard of any plans to develop a version of the beacon software that runs in a non-Windows environment or in containers. If you think there is a strong use case for that and may be interest from others, you may wish to submit it as an idea in Flexera Ideas so others can vote on it.

Srinii0088
By
Level 2

@ChrisG  i am looking for step by step document guide to install  FlexNet Manager Suite 2020 R1 in one of our lab linux vm to scan  all the docker containers running  for SAM.

mag00_75
By Level 8 Champion
Level 8 Champion

Hi @Srinii0088 

To be able to inventory docker containers, the easiest is to install the flexnet agent onto the host machine. It will automatically inject an inventory agent into the containers, if you have enabled the setting in discovery&inventory -> inventory settings

Srinii0088
By
Level 2

Hi @mag00_75 

i am trying to download flexnet agent , to install it on linux host to explore the tool. can you please share the download link .

mag00_75
By Level 8 Champion
Level 8 Champion

Flexera instance

When you have logged into your FNMS instance, go to Discovery & Inventory -> Settings.

Scroll down until you find Inventory agent for download.

 

Product & Licensing Center

Or in the product & licensing center at Flexera you can download the full agent package, extract and pick the agent version you want to use.