docker-stats

command module
v0.0.0-...-17ce702 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2020 License: MIT Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Docker stats

Simple server displaying stats of your docker containers

Run using Docker

Run from docker container (only for armhf):

docker run -d --name docker-stats -v /var/run/docker.sock:/var/run/docker.sock -p 11235:11235 -e BASEURL=localhost:11235 agurato/docker-stats:latest

Using docker-compose:

version: '3'

services:
  docker-stats:
    image: agurato/docker-stats:latest
    ports:
      - 11235:11235
    environment:
      - BASEURL=localhost:11235
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    restart: unless-stopped

Go to http://localhost:11235/ to display docker stats.

Build & run

go get github.com/Agurato/docker-stats
go build github.com/Agurato/docker-stats
cd $GOPATH/src/github.com/Agurato/docker-stats
docker-stats

Documentation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址