We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c62657 commit 86e5007Copy full SHA for 86e5007
telegraf/Dockerfile
@@ -31,6 +31,10 @@ RUN wget --no-verbose https://dl.influxdata.com/influxdb/releases/influxdb_${INF
31
dpkg -i influxdb_${INFLUXDB_VERSION}_amd64.deb && \
32
rm -f influxdb_${INFLUXDB_VERSION}_amd64.deb*
33
34
+# Update init scripts to not claim ulimit -n greater than 512 to be able to run services in rootnroll.
35
+RUN sed -i -e 's/^OPEN_FILE_LIMIT=.*/OPEN_FILE_LIMIT=512/' /etc/init.d/telegraf \
36
+ && sed -i -e 's/^OPEN_FILE_LIMIT=.*/OPEN_FILE_LIMIT=512/' /etc/init.d/influxdb
37
+
38
WORKDIR /home/box
39
COPY docker-entrypoint.sh /
40
ENTRYPOINT ["/docker-entrypoint.sh"]
0 commit comments