librenms-custom-docker (sha256:1eb699a51c2df2ac06b78df924726bf54218c10508731f4f17c7fd01cf9f4325)
Installation
docker pull jonasled.dev/jonasled/librenms-custom-docker@sha256:1eb699a51c2df2ac06b78df924726bf54218c10508731f4f17c7fd01cf9f4325sha256:1eb699a51c2df2ac06b78df924726bf54218c10508731f4f17c7fd01cf9f4325About this package
Fully featured network monitoring system
Image layers
| ADD alpine-minirootfs-3.24.1-aarch64.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 /gosu /usr/local/bin/ # 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 php84 php84-cli php84-ctype php84-curl php84-dom php84-fileinfo php84-fpm php84-gd php84-gmp php84-iconv php84-json php84-ldap php84-mbstring php84-mysqlnd php84-opcache php84-openssl php84-pdo php84-pdo_mysql php84-pecl-memcached php84-pear php84-phar php84-posix php84-session php84-simplexml php84-snmp php84-sockets php84-tokenizer php84-xml php84-xmlwriter php84-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 && ln -sf /usr/bin/php84 /usr/bin/php && 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.11.0-r0 |
| RUN |1 SYSLOGNG_VERSION=4.11.0-r0 /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.11.0-r0 /bin/sh -c addgroup -g ${PGID} librenms && adduser -D -h /home/librenms -u ${PUID} -G librenms -s /bin/sh -D librenms && curl -sSL -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.10.2 |
| ARG WEATHERMAP_PLUGIN_COMMIT |
| RUN |3 SYSLOGNG_VERSION=4.11.0-r0 LIBRENMS_VERSION=26.10.2 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"] |
| RUN /bin/sh -c cd /opt/librenms/ && chmod -R 777 /opt/librenms/composer.* /opt/librenms/vendor/socialiteproviders /opt/librenms/vendor/composer /opt/librenms/vendor/composer/* && composer require socialiteproviders/authentik socialiteproviders/openidconnect --ignore-platform-req=ext-xmlwriter --no-scripts # buildkit |
| COPY EventServiceProvider.php /opt/librenms/app/Providers/EventServiceProvider.php # buildkit |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.created | 2026-10-25T13:53:01.854Z |
| org.opencontainers.image.description | Fully featured network monitoring system |
| org.opencontainers.image.licenses | MIT |
| org.opencontainers.image.revision | f054b0f870fd9a9c65d75edbceed01145eafcb1e |
| 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.10.2 |
Details
2026-11-18 09:51:49 +00:00
Versions (2)
View all
Container
0
OCI / Docker
linux/arm64
MIT
288 MiB
3254993d6100946964da57b2c11929f0bba56119
2026-11-18
26.10.2
2026-11-18