1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-27 02:09:06 +02:00
dockerfiles/vnstat/Dockerfile

17 lines
302 B
Docker
Raw Normal View History

2016-06-17 12:06:40 +02:00
#
# Dockerfile for vnstat
#
FROM debian:jessie
2017-05-08 01:05:07 +02:00
MAINTAINER kev <noreply@easypi.pro>
2016-06-17 12:06:40 +02:00
RUN set -xe \
&& apt-get update \
&& apt-get install -y vnstat vnstati \
&& sed -i '/UseLogging/s/2/0/' /etc/vnstat.conf \
&& rm -rf /var/lib/apt/lists/*
VOLUME /var/lib/vnstat
CMD ["vnstatd", "-n"]