Managing containers using data structure for fixing security vulnerabilities and exposures
Abstract
A computer-implemented method for managing containers. A processor set retrieves a container image from a container repository. The container image is retrieved by a host comprising a copy of the container image. The processor set updates the copy of the container image on the host based on filesystems in the container image retrieved from the container repository and metadata for the application packages associated with the container image retrieved from the container repository. The processor set creates a data structure comprising information for fixing security vulnerabilities and exposures for containers based on the metadata for the application packages, information associated with the application packages, and information associated with containers for the container image on the host.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A computer implemented method for managing containers, the computer implemented method comprising: retrieving, by a processor set, a container image from a container repository, wherein the container image is retrieved for a host, and wherein the host comprises a copy of the container image; updating, by the processor set, the copy of the container image on the host based on one or more filesystems in the container image retrieved from the container repository and metadata for one or more application packages associated with the container image retrieved from the container repository, wherein the metadata is obtained from one or more files in the one or more filesystems in the container image by extracting the one or more filesystems and parsing configuration files within the extracted filesystems and, wherein the metadata comprises Software Bill of Materials (SBOM) metadata that describes composition of the application packages and provides detail information related to open-source co
- Claim 2Depends on #1
The computer implemented method of claim 1 further comprising: determining, by the processor set, whether the container image retrieved from the container repository comprises the metadata for the one or more application packages associated with the container image; and in response to determining the container image received from the container repository does not comprise the metadata for the one or more application packages associated with the container image, generating, by the processor set, the metadata for the one or more application packages associated with the container image.
- Claim 3Depends on #1
The computer implemented method of claim 1 wherein the data structure is a table comprising: statuses of the one or more application packages and the one or more containers for the container image, identifiers for the one or more containers for the container image, versions of the one or more application packages, information associated with package management tools that are used to manage application packages, whether containers are using versions of application packages from container images or received updates, and file paths for the one or more application packages.
- Claim 4Depends on #1
The computer implemented method of claim 1 further comprising: receiving, by the processor set, using a package management tool, an update for the one or more application packages associated with the container image; determining, by the processor set, a set of one or more containers on the host that are affected by the update based on the data structure; and applying, by the processor set, using the package management tool, the update to the one or more application packages associated with the container image for the set of one or more containers.
- Claim 5Depends on #4
The computer implemented method of claim 4 further comprising: initiating, by the processor set, a container in the set of one or more containers on the host; performing, by the processor set, a health check to the initiated container; and updating, by the processor set, the data structure based on a result of the health check for the container.
- Claim 6Depends on #5
The computer implemented method of claim 5, wherein updating, by the processor set, the data structure based on the result of the health check for the container comprises: in response to determining that the container does not pass the health check, updating, by the processor set, the data structure to indicate that the container uses versions of the one or more application packages based on the copy of the container image; and reinitiating, by the processor set, the container using versions of the one or more application packages based on the copy of the container image.
- Claim 7Depends on #5
The computer implemented method of claim 5, wherein updating, by the processor set, the data structure based on the result of the health check for the container comprises: in response to determining that the container passes the health check, updating, by the processor set, the data structure to indicate that a default option for running the one or more application packages for the container is based on the latest versions of the one or more application packages from the update.
- Claim 8Independent Claim
A computer system comprising: a processor set; a set of one or more computer-readable storage media; and program instructions, collectively stored in the set of one or more storage media, for causing the processor set to perform the following computer operations: retrieve a container image from a container repository, wherein the container image is retrieved for a host, and wherein the host comprises a copy of the container image; update the copy of the container image on the host based on one or more filesystems in the container image retrieved from the container repository and metadata for one or more application packages associated with the container image retrieved from the container repository, wherein the metadata is obtained from one or more files in the one or more filesystems in the container image by extracting the one or more filesystems and parsing configuration files within the extracted filesystems and, wherein the metadata comprises Software Bill of Materials (SBOM) meta
Technical Overview & Description
BACKGROUND The disclosure relates generally to managing containers and more specifically to managing metadata and application packages associated with containers. A container is a lightweight, standalone, and executable software package that contains all necessary components to run an application or a service. A container encapsulates the application code, runtime environment, system libraries, and dependencies into a single executable unit to create an isolated execution environment such that the application runs reliably and consistently across various computing environments. In addition, the isolation created by container allows multiple containers to run on the same computer system without interfering with each other, thereby providing an efficient and resource-effective way to deploy and manage applications. Container images, on the other hand, serve as blueprints for creating containers. A container image is a static source of a filesystem that contains the application code, runtime, dependencies, and other configuration files needed to run applications. Container images provide portable and immutable representation of application environments to ensure consistency and reproducibility across different deployment environments. Containers and container images have revolutionized the way software is developed, packaged, and deployed. Containers and container images enable organizations to adopt efficient development practices, streamline the deployment pipeline, and therefore improve consistency, scalability, and efficiency in managing applications and infrastructure. SUMMARY According to one illustrative embodiment, a computer-implemented method for managing containers is provided. A processor set retrieves a container image from a container repository. The container image is retrieved by a host comprising a copy of the container image. The processor set updates the copy of the container image on the host based on filesystems in the container image retrieved fro
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (21)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2025/0209171 A1 | Behavior Based Identification of Malicious Workloads in a Runtime Environment | — | 2 |
Non-Patent Literature (10)
- U.S. Appl. No. 63/507,157, filed Jun. 9, 2023, Dubey, Apporva.
- Anonymous,
- “
- Adaptative Governance Solution on Container Orchestrator System for License Assurance Using Annotations,
- ”
- The IP.com Journal, Jul. 25, 2023, 5 pages, ip.com, accessed Mar. 19, 2024, https://priorart.ip.com/IPCOM/000272734/Adaptative-Governance-Solution-on-Container-Orchestrator-System-for-License-Assruance Using Annotations.pdf.
- Author unknown,
- “
- Generate the SBOM for Docker images,
- ”