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: 0

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