Public Repository

Last pushed: 7 months ago
Short Description
sflowtool on top of ubuntu:latest
Full Description

Dockerfile (v3.22)

FROM ubuntu:latest
MAINTAINER vasanth.viswanath@gmail.com

EXPOSE 6343/udp

ENV SFLOWTOOL_VER 3.22

RUN apt-get update\
&& apt-get install -y --no-install-recommends build-essential curl

RUN curl -O http://www.inmon.com/bin/sflowtool-$SFLOWTOOL_VER.tar.gz && tar -xvzf sflowtool-$SFLOWTOOL_VER.tar.gz
RUN cd sflowtool-$SFLOWTOOL_VER && ./configure && make && make install

RUN apt-get remove --auto-remove --purge -y build-essential curl
RUN rm sflowtool-$SFLOWTOOL_VER.tar.gz

CMD ["/bin/bash"]

Dockerfile (v3.39)

FROM ubuntu:14.04
MAINTAINER vasanth.viswanathan@hpe.com

EXPOSE 6343/udp

ENV SFLOWTOOL_VER 3.39

RUN apt-get update \
&& apt-get install -y --no-install-recommends build-essential wget

RUN wget --no-check-certificate https://github.com/sflow/sflowtool/releases/download/v$SFLOWTOOL_VER/sflowtool-$SFLOWTOOL_VER.tar.gz \
&& tar -xvzf sflowtool-$SFLOWTOOL_VER.tar.gz
RUN cd sflowtool-$SFLOWTOOL_VER && ./configure && make && make install

RUN apt-get remove --auto-remove --purge -y build-essential wget
RUN rm sflowtool-$SFLOWTOOL_VER.tar.gz

CMD ["/bin/bash"]

Command to start container

docker run -d --privileged vasanthv/sflowtool /sbin/init

Docker Pull Command
Owner
vasanthv

Comments (0)