1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00
dockerfiles/vnstat
2016-06-17 18:33:41 +08:00
..
docker-compose.yml add vnstat 2016-06-17 18:33:41 +08:00
Dockerfile add vnstat 2016-06-17 18:33:41 +08:00
README.md add vnstat 2016-06-17 18:33:41 +08:00

vnstat

vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s).

docker-compose.yml

vnstat:
  image: vimagick/vnstat
  volumes:
    - ./data:/var/lib/vnstat
  net: host
  restart: always

up and running

docker-compose up -d
docker-compose exec vnstat bash
>>> vnstat --help
>>> vnstati --help
>>> exit