Collecting Diagnostic Information from a Failed Container
A diagnostics collection script is included in a container image. When an original instance of the container fails, a new instance of the container is started using the container image using a Docker compose YAML file having the diagnostics collection script as an entrypoint. The diagnostics collect...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | English |
Published |
04.04.2024
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | A diagnostics collection script is included in a container image. When an original instance of the container fails, a new instance of the container is started using the container image using a Docker compose YAML file having the diagnostics collection script as an entrypoint. The diagnostics collection script is configured to collect the logs of the original (now failed) container during the container start operation. In this manner, the container is able to be started in a safe mode and is isolated to only run the diagnostics collection script without disturbing the container's original settings. By recreating the exact environment of the failed container, and running diagnostics on the environment, it is possible to obtain the log files from the original container as well as to implement diagnostic operations on the environment of the original container, which can then be used to help diagnose why the original container failed. |
---|---|
Bibliography: | Application Number: US202217958400 |