summaryrefslogtreecommitdiffstats
path: root/docker/snmp/docker-compose.yml
diff options
context:
space:
mode:
authorTaras Chornyi <tarasx.chornyi@intel.com>2017-11-16 14:38:27 +0000
committerMaryam Tahhan <maryam.tahhan@intel.com>2017-11-20 13:27:26 +0000
commit9ea6cffe95098a982528587f694b2eb4eb4732bb (patch)
treed984476161f0befdcf393e0a311c9d17353e0e3c /docker/snmp/docker-compose.yml
parent4089293fce7a32e36181062a2ba562a371916865 (diff)
Added snmpd container
Change-Id: Icec7fa09b0b97594383c5ec8c45c7eb4ea586a30 Signed-off-by: Taras Chornyi <tarasx.chornyi@intel.com>
Diffstat (limited to 'docker/snmp/docker-compose.yml')
-rw-r--r--docker/snmp/docker-compose.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/docker/snmp/docker-compose.yml b/docker/snmp/docker-compose.yml
new file mode 100644
index 00000000..49728c5e
--- /dev/null
+++ b/docker/snmp/docker-compose.yml
@@ -0,0 +1,10 @@
+version: '2'
+
+services:
+ snmpd:
+ image: polinux/snmpd
+ network_mode: host
+ volumes:
+ - ./snmpd.conf:/etc/snmpd/snmpd.conf:ro
+ - /var/agentx/:/var/agentx/
+ command: -c /etc/snmpd/snmpd.conf