Add custom mib support

Add mibs to the docker container using -v /my/mib/dir:/mibs

This is a bit untested...so we'll see how it goes.
This commit is contained in:
dchidell 2018-04-26 13:57:32 +01:00 committed by GitHub
parent fe74b228ce
commit 37a28b100b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,4 +6,6 @@ RUN echo 'disableAuthorization yes' > /etc/snmp/snmptrapd.conf
EXPOSE 162
CMD ["snmptrapd","-L","o","-f"]
VOLUME ["/mibs"]
CMD ["snmptrapd","-L","o","-f","-M","/mibs"]