IP Library Granted Patent US 10,901,700
Granted Patent B2
US 10,901,700 · App. 16/287,652 · Granted Jan 26, 2021

Automatic generation of container image in a runtime environment

Inventors: Peng PP Wang (Beijing, CN); Hong Wei Sun (Beijing, CN); Tao Tong (Beijing, CN); Da MD Ma (Beijing, CN); Guang Han Sui (Beijing, CN)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
G06F8/311G06F8/35G06F8/65G06F9/45558G06F2009/45562
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,901,700
App. No.
16/287,652
Granted
Jan 26, 2021
Kind
B2
Abstract

Various embodiments are provided for automatically generating a container image by a processor. Service runtime information associated with an operating system (OS) may be detect and collected. The collected service runtime information may be validated. A container having the collected service runtime information may be created. A container image may be generated according to the container. The container image may be updated upon detecting a change to the service runtime information.

Claims (43)

1. A method, by a processor, for automatically generating a container image for a comprising:

executing an application on a host:

during the execution of the application, detecting and collecting service runtime information associated with an operating system (OS) under which the application is executing,

wherein the service runtime information is detected and collected by a monitoring agent operating as a background task of the OS:

including activating the container using the container image for one of a plurality of selected runtime environment;

creating the container having the collected service runtime information;

generating a container image according to the container: and

updating the container image upon detecting a change to the service runtime information.

2. The method of claim 1 , further including validating the collected service runtime information.

3. The method of claim 1 , wherein collecting the service runtime information further includes collecting information of the OS, patches information, one or more variables and parameters, one or more files, a binary location, one or more libraries, a user identifier (ID), a group ID, a startup time, process ID, a command name, or a combination thereof.

4. The method of claim 1 , further including:

identifying one or more processes on the OS and each relationship between the one or more processes; and

selecting the one or more processes of the OS to monitor and collect the service runtime information.

5. The method of claim 1 , further including creating the container with a selected base container image and building a runtime environment based on the collected service runtime information.

6. A system for automatically generating a container image in a computing environment, comprising:

one or more computers with executable instructions that when executed cause the system to: execute an application on a host:

during the execution of the application, detect and collecting service runtime information associated with an operating system (OS) under which the application is executing;

wherein the service runtime information is detected and collected by a monitoring agent

operating as a background task of the OS;

wherein the executable instructions activate the container using the container image for one of a plurality of selected runtime environment;

create the container having the collected service runtime information;

generate a container image according to the container; and

update the container image upon detecting a change to the service runtime information.

7. The system of claim 6 , wherein the executable instructions validate the collected service runtime information.

8. The system of claim 6 , wherein the executable instructions, pursuant to collecting the service runtime information, collect information of the OS, patches information, one or more variables and parameters, one or more files, a binary location, one or more libraries, a user identifier (ID), a group ID, a startup time, process ID, a command name, or a combination thereof.

9. The system of claim 6 , wherein the executable instructions:

identify one or more processes on the OS and each relationship between the one or more processes; and

select the one or more processes of the OS to monitor and collect the service runtime information.

10. The system of claim 6 , wherein the executable instructions create the container with a selected base container image and building a runtime environment based on the collected service runtime information.

11. A computer program product for automatically generating a container image by a processor, the computer program product comprising a non-transitory computer-readable storage medium having computer-readable program code portions stored therein, the computer-readable program code portions comprising:

an executable portion that executes an application on a host:

an executable portion that during the execution of the application, detects and collecting service runtime information associated with an operating system (OS) under which the application is executing,

wherein the service runtime information is detected and collected by a monitoring agent operating as a background task of the OS;

creates the container with a selected base container image and building a runtime environment based on the collected service runtime information; or

activates the container using the container image for one of a plurality of selected runtime environment;

an executable portion that creates a container having the collected service runtime information;

an executable portion that generates the container image according to the container; and

an executable portion that updates the container image upon detecting a change to the service runtime information.

12. The computer program product of claim 11 , further including an executable portion that validate the collected service runtime information.

13. The computer program product of claim 11 , further including an executable portion that, pursuant to collecting the service runtime information, collects information of the OS, patches information, one or more variables and parameters, one or more files, a binary location, one or more libraries, a user identifier (ID), a group ID, a startup time, process ID, a command name, or a combination thereof.

14. The computer program product of claim 11 , further including an executable portion that:

identifies one or more processes on the OS and each relationship between the one or more processes; and

selects the one or more processes of the OS to monitor and collect the service runtime information.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 27, 2019
From: WANG, PENG PP; SUN, HONG WEI; TONG, TAO; MA, DA MD; SUI, GUANG HAN
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 048458/0905 →
Continuity (1)
Related Publication 20200272427A1 · Aug 27, 2020
Cited By (3)
US 12,288,053 US 12,423,127 US 12,511,142