From 37a28b100b5b4db15baa0dd1c59c72b42ab52b39 Mon Sep 17 00:00:00 2001
From: dchidell <dchidell@users.noreply.github.com>
Date: Thu, 26 Apr 2018 13:57:32 +0100
Subject: [PATCH] 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.
---
 Dockerfile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index f2b2722..cea154e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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"]