Monitoring Status via Docker Health State¶
The basic status of the container can be checked via standard Docker container health mechanisms.
$ docker inspect sedex-client
[...]
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 4804,
"ExitCode": 0,
"Error": "",
"StartedAt": "2021-05-10T14:31:30.906584007Z",
"FinishedAt": "2021-05-06T19:53:02.091368316Z",
"Health": {
"Status": "healthy",
"FailingStreak": 0,
[...]
Note: Extremely coarse indicator
The Docker health state of the container is an extremely coarse indicator. That's why it is recommended to additionally include the most important key/value pairs of the of the sedex Client's monitoring page in your own operations monitoring system.