Sign inSign up

agurato/docker-stats

By agurato

•Updated over 6 years ago

Web server displaying real time updates of docker stats

Image
1

10K+

agurato/docker-stats repository overview

⁠Docker stats

Simple server displaying stats of your docker containers

https://github.com/Agurato/docker-stats⁠

⁠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

Tag summary

Content type

Image

Digest

Size

432 MB

Last updated

over 6 years ago

docker pull agurato/docker-stats