docker-splunk
docker-splunk copied to clipboard
Install apt package in UF container?
trafficstars
Hi all, apologies as this is not a standard issue. Long story short I have a UF container running in an environment and need to install the snmp package so I can run a script that that does a snmpwalk for an input.
Is there an easy way to ensure the snmp package gets installed in this container, without creating a new image? I was hoping to rig up something using the SPLUNK_CMD ENV, but wanted to ask here first. Basically, I want to run this every time the container starts up: sudo apt update && sudo apt -y install snmp
Does this container have any provisions to help support a task like that?
Thanks!