Create README.md

pull/1/head
Heiner 2016-02-24 00:32:03 +01:00
rodzic 4bfeac7cc0
commit 3df7d671b8
1 zmienionych plików z 19 dodań i 0 usunięć

19
README.md 100644
Wyświetl plik

@ -0,0 +1,19 @@
# Docker Container Stats
A web interface for viewing historical and current statistics per docker container (cpu, mem, net i/o, block i/o) - in a docker container.
Pull and run daemonized:
```
docker pull virtualzone/docker-container-stats
docker run \
-d \
-p 8080:8080 \
--volume=/var/lib/docker/:/var/lib/docker:ro \
--volume=/var/run/docker.sock:/var/run/docker.sock:ro \
--volume=/home/docker/storage/stats/db:/opt/docker-stats/db \
--name stats \
virtualzone/docker-container-stats
```
Mounting the volumes /var/lib/docker and /var/run/docker.sock (read-only) is required so that the docker container can retrieve the statistics for the containers.
Mounting the volume /opt/docker-stats/db is optional. You can use it if you want to persist the SQLite database.