Container image size reduction via runtime analysis
AssigneeRed Hat, Inc.
InventorGiuseppe Scrivano
Life of this patent
Estimating the term…
Abstract
An example method of reducing a container image size includes tracing an execution of a process running in a container. The container is associated with a first container image storing a set of files. The method also includes marking, based on the tracing, a subset of files accessed by the process. The method further includes creating a second container image storing the marked set of files.
Claims20
A method of reducing a container image size, comprising:
- tracing an execution of a process running in a container, the container being associated with a first container image storing a set of files;
- marking, based on the tracing, a subset of files accessed by the process;
- and
- creating a second container image storing the marked set of files.
A system for reducing a container image size, comprising:
- a profiler that traces an execution of a process running in a container, wherein the container is associated with a first container image storing a set of files, and wherein the profiler marks, based on the tracing, a subset of files accessed by the process;
- and
- a container image manager that creates a second container image storing the marked set of files.
A machine-readable medium comprising a plurality of machine-readable instructions that when executed by one or more processors is adapted to cause the one or more processors to perform a method comprising:
- tracing an execution of a process running in a container, the container being associated with a first container image storing a set of files;
- marking, based on the tracing, a subset of files accessed by the process;
- and
- creating a second container image storing the marked set of files.
Dependencies are inferred from the claim text.