1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:34 +02:00
dockerfiles/vnstat/README.md

29 lines
458 B
Markdown
Raw Normal View History

2016-06-17 12:06:40 +02:00
vnstat
======
[vnStat][1] 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
```yaml
vnstat:
image: vimagick/vnstat
volumes:
- ./data:/var/lib/vnstat
net: host
restart: always
```
### up and running
```bash
docker-compose up -d
docker-compose exec vnstat bash
>>> vnstat --help
>>> vnstati --help
>>> exit
```
[1]: http://humdi.net/vnstat/