IGN Docker Images

Mirrored Docker images for IGN infrastructure

librenms-librenms (latest)

Published 2026-02-25 03:56:43 +00:00 by Bryan Mellott

Installation

docker pull gitea.bryanmellott.com/ign-images/librenms-librenms:latest
sha256:0238f2737b393cc3608cc83216a6b98bcf8c2e648dd6afa5b53c7aa53a012d02

About this package

Fully featured network monitoring system

Image Layers

ADD alpine-minirootfs-3.22.2-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
ARG DIST_PATH=/dist
COPY /dist / # buildkit
RUN |1 DIST_PATH=/dist /bin/sh -c apk --update --no-cache add bearssl && s6-rmrf /tmp/* # buildkit
ENTRYPOINT ["/init"]
COPY / / # buildkit
RUN /bin/sh -c apk --update --no-cache add busybox-extras acl bash bind-tools binutils ca-certificates coreutils curl file fping git graphviz imagemagick ipmitool iputils libcap-utils mariadb-client monitoring-plugins mtr net-snmp net-snmp-tools nginx nmap openssl openssh-client perl php83 php83-cli php83-ctype php83-curl php83-dom php83-fileinfo php83-fpm php83-gd php83-gmp php83-iconv php83-json php83-ldap php83-mbstring php83-mysqlnd php83-opcache php83-openssl php83-pdo php83-pdo_mysql php83-pecl-memcached php83-pear php83-phar php83-posix php83-session php83-simplexml php83-snmp php83-sockets php83-tokenizer php83-xml php83-xmlwriter php83-zip python3 py3-pip rrdtool runit sed shadow ttf-dejavu tzdata util-linux whois && apk --update --no-cache add -t build-dependencies build-base make mariadb-dev musl-dev python3-dev && pip3 install --upgrade --break-system-packages pip && pip3 install python-memcached mysqlclient --upgrade --break-system-packages && curl -sSL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && apk del build-dependencies && rm -rf /var/www/* /tmp/* && echo "/usr/sbin/fping -6 \$@" > /usr/sbin/fping6 && chmod +x /usr/sbin/fping6 && chmod u+s,g+s /bin/ping /bin/ping6 /usr/lib/monitoring-plugins/check_icmp && setcap cap_net_raw+ep /usr/bin/nmap && setcap cap_net_raw+ep /usr/sbin/fping && setcap cap_net_raw+ep /usr/sbin/fping6 && setcap cap_net_raw+ep /usr/lib/monitoring-plugins/check_icmp && setcap cap_net_raw+ep /usr/lib/monitoring-plugins/check_ping # buildkit
ARG SYSLOGNG_VERSION=4.8.3-r1
RUN |1 SYSLOGNG_VERSION=4.8.3-r1 /bin/sh -c apk --update --no-cache add syslog-ng=${SYSLOGNG_VERSION} # buildkit
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2 LIBRENMS_PATH=/opt/librenms LIBRENMS_DOCKER=1 TZ=UTC PUID=1000 PGID=1000
RUN |1 SYSLOGNG_VERSION=4.8.3-r1 /bin/sh -c addgroup -g ${PGID} librenms && adduser -D -h /home/librenms -u ${PUID} -G librenms -s /bin/sh -D librenms && curl -sSLk -q https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/distro -o /usr/bin/distro && chmod +x /usr/bin/distro # buildkit
WORKDIR /opt/librenms
ARG LIBRENMS_VERSION=26.2.0
ARG WEATHERMAP_PLUGIN_COMMIT
RUN |3 SYSLOGNG_VERSION=4.8.3-r1 LIBRENMS_VERSION=26.2.0 WEATHERMAP_PLUGIN_COMMIT= /bin/sh -c apk --update --no-cache add -t build-dependencies build-base linux-headers musl-dev python3-dev && echo "Installing LibreNMS https://github.com/librenms/librenms.git#${LIBRENMS_VERSION}..." && git clone --depth=1 --branch ${LIBRENMS_VERSION} https://github.com/librenms/librenms.git . && pip3 install --ignore-installed -r requirements.txt --upgrade --break-system-packages && mkdir config.d && cp config.php.default config.php && cp snmpd.conf.example /etc/snmp/snmpd.conf && sed -i '/runningUser/d' lnms && echo "foreach (glob(\"/data/config/*.php\") as \$filename) include \$filename;" >> config.php && echo "foreach (glob(\"${LIBRENMS_PATH}/config.d/*.php\") as \$filename) include \$filename;" >> config.php && chown -R librenms:librenms ${LIBRENMS_PATH} && su librenms -s /bin/sh -c "COMPOSER_CACHE_DIR=/tmp composer install --no-dev --no-interaction --no-ansi" && apk del build-dependencies && rm -rf .git html/plugins/Test doc/ tests/ /tmp/* # buildkit
COPY rootfs / # buildkit
EXPOSE [162/tcp 162/udp 514/tcp 514/udp 8000/tcp]
VOLUME [/data]
ENTRYPOINT ["/init"]

Labels

Key Value
org.opencontainers.image.created 2026-02-16T13:13:20.157Z
org.opencontainers.image.description Fully featured network monitoring system
org.opencontainers.image.licenses MIT
org.opencontainers.image.revision f90a88171a479af97bfff2d8d1fe98f9b0429ebf
org.opencontainers.image.source https://github.com/librenms/docker
org.opencontainers.image.title LibreNMS
org.opencontainers.image.url https://github.com/librenms/docker
org.opencontainers.image.vendor LibreNMS
org.opencontainers.image.version 26.2.0
Details
Container
2026-02-25 03:56:43 +00:00
0
OCI / Docker
linux/amd64
MIT
179 MiB
Versions (1) View all
latest 2026-02-25