diff options
Diffstat (limited to 'dmt/html/stats.html')
-rw-r--r-- | dmt/html/stats.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dmt/html/stats.html b/dmt/html/stats.html new file mode 100644 index 0000000..8d03762 --- /dev/null +++ b/dmt/html/stats.html @@ -0,0 +1,17 @@ +<h1>Daemon Stats</h1> + +% fmt='table {{.ID}}\t{{.Image}}\t{{.RunningFor}}\t{{.Status}}' + +<div class="box"> + <div class="box-title">Containers</div> + <div class="box-text"> + <pre>%{ docker ps --all --format "$fmt" %}</pre> + </div> +</div> + +<div class="box"> + <div class="box-title">Usage</div> + <div class="box-text"> + <pre>%{ docker system df %}</pre> + </div> +</div> |