snmp-armada-app/stx-snmp-helm/centos/docker/stx-snmp/Dockerfile

13 lines
214 B
Docker
Executable File

FROM centos:8
RUN yum -y update
RUN yum -y install\
net-snmp \
net-snmp-utils \
net-snmp-libs
COPY ./mibs/* /usr/share/snmp/mibs/
EXPOSE 161/udp
EXPOSE 162/udp
EXPOSE 705/tcp
CMD [ "/usr/sbin/snmpd", "-f"]