Updated instructions

This commit is contained in:
Luca Deri 2020-05-13 10:11:47 +02:00
parent 4a9659ea7c
commit 4e74b560b7
2 changed files with 2 additions and 21 deletions

View file

@ -1,16 +0,0 @@
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
# Pass --build-arg TZ=<YOUR_TZ> when running docker build to override this.
ARG TZ=Europe/Rome
RUN apt-get update && apt-get -y install wget lsb-release gnupg tzdata
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN wget -O apt-ntop-stable.deb http://apt-stable.ntop.org/18.04/all/apt-ntop-stable.deb && \
dpkg -i apt-ntop-stable.deb && rm -f apt-ntop-stable.deb
RUN apt-get update && apt-get -y install ntopng
RUN echo '#!/usr/bin/env bash\n/etc/init.d/redis-server start && ntopng "$@"' > /tmp/run.sh
RUN chmod +x /tmp/run.sh
ENTRYPOINT ["/tmp/run.sh"]

View file

@ -1,8 +1,5 @@
ntopng-docker
=============
## ntopng Dock Builder
Please see
- https://github.com/lucaderi/ntopng-docker [building information]
- https://hub.docker.com/r/lucaderi/ntopng-docker/ [container]
- https://github.com/ntop/docker-ntop [Docker files]
- https://hub.docker.com/u/ntop [Ready-to-use containers]