1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00
dockerfiles/vnstat/Dockerfile
2017-05-08 07:05:07 +08:00

17 lines
302 B
Docker

#
# Dockerfile for vnstat
#
FROM debian:jessie
MAINTAINER kev <noreply@easypi.pro>
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"]