test snmp
This commit is contained in:
9
snmpd/Dockerfile
Normal file
9
snmpd/Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
ARG BUILD_FROM
|
||||
FROM $BUILD_FROM
|
||||
|
||||
ENV LANG C.UTF-8
|
||||
|
||||
RUN apk add --no-cache net-snmp
|
||||
RUN sed -i 's/^agentAddress.*/agentAddress udp:161/' /etc/snmp/snmpd.conf
|
||||
|
||||
CMD [ "/usr/sbin/snmpd -fD" ]
|
||||
Reference in New Issue
Block a user