aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2023-12-10 09:45:17 +0100
committerEgor Tensin <egor@tensin.name>2023-12-10 09:45:17 +0100
commit33e0201c3f1831dc6384a88777b37d625fb0630b (patch)
tree91a231e7c239404623dd77527353278d37e96d4f /html
parenthtml: display container running time, even if unhealthy (diff)
downloadlinux-status-33e0201c3f1831dc6384a88777b37d625fb0630b.tar.gz
linux-status-33e0201c3f1831dc6384a88777b37d625fb0630b.zip
html: add a comment with a reference link
Diffstat (limited to 'html')
-rw-r--r--html/index.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/html/index.html b/html/index.html
index 3672cad..f8f599c 100644
--- a/html/index.html
+++ b/html/index.html
@@ -238,6 +238,10 @@ function loop_top() {
$('#top_refresh_interval').text(top_refresh_interval_seconds);
}
+// Container's State.Status field values are described in the API reference:
+//
+// https://docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerInspect
+//
function docker_container_is_ok(info) {
if (info.status == 'restarting' || info.status == 'dead')
return false;