diff --git a/Dockerfile b/Dockerfile index d46337a..9266543 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,8 @@ FROM python:3.8-slim RUN pip install snmpsim -RUN adduser --system snmpsim - ADD data /usr/local/snmpsim/data EXPOSE 161/udp -CMD snmpsim-command-responder --agent-udpv4-endpoint=0.0.0.0:161 --process-user=snmpsim --process-group=nogroup $EXTRA_FLAGS +CMD SNMPSIM_ALLOW_ROOT=true snmpsim-command-responder --agent-udpv4-endpoint=0.0.0.0:161 $EXTRA_FLAGS