You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
memory warning in the custom built docker file. #846
We are deploying telegraf on kubernetes cluster. We have written scripts to get metrics, scripts need few packages to be installed so using below shared Dockerfile image. When the custom image deployed, we are seeing the warning message in logs. How to increase the memory limit?
If this is not the ideal way, please share recommended process to install packages in the base image.
W! Insufficient lockable memory 64kb when 84kb is required. Please increase the limit for Telegraf in your Operating System!
Dockerfile
FROM telegraf:1.37-alpine
RUN apk add --no-cache coreutils curl
ENTRYPOINT ["/entrypoint.sh"]
CMD ["telegraf"]
Activity
srebhan commentedon Jul 16, 2026
@Dinesh558 you should increase the limit for lockable memory. See https://docs.docker.com/reference/cli/docker/container/run/#ulimit for setting the limit.