Block a user
nagios (latest)
Published 2026-01-20 17:00:07 +02:00 by andreas
Installation
docker pull gitea.phadric.de/andreas/nagios:latestsha256:ca6aba9dfc9d185822cc53677429cbbcbd9d36be0544cd3f118328f01dc6499f
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 909a58daa9 | linux/amd64 | 86 MiB |
Image Layers ( linux/amd64)
| ADD alpine-minirootfs-3.23.2-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| MAINTAINER Rich Braun "docker@phadric.de" |
| ARG BUILD_DATE |
| ARG VCS_REF |
| LABEL org.label-schema.build-date= org.label-schema.license=GPL-2.0 org.label-schema.name=nagios org.label-schema.vcs-ref= org.label-schema.vcs-url=https://github.com/instantlinux/docker-tools |
| ARG NAGIOS_VERSION=4.5.11-r0 |
| ARG NAGIOS_GID=1000 |
| ARG NAGIOS_UID=999 |
| ARG PLUGINS_VERSION=2.4.12-r0 |
| ARG WWW_UID=33 |
| ENV AUTHORIZED_USERS=nagiosadmin CONFIG_CHECK=yes HTPASSWD_SECRET=nagios-htpasswd MAIL_AUTH_USER= MAIL_AUTH_SECRET=nagios-mail-secret MAIL_RELAY_HOST=smtp:25 MAIL_USE_TLS=yes NAGIOS_FQDN=nagios.docker NGINX_PORT=80 PERF_ENABLE=yes TZ=UTC |
| RUN |7 BUILD_DATE= VCS_REF= NAGIOS_VERSION=4.5.11-r0 NAGIOS_GID=1000 NAGIOS_UID=999 PLUGINS_VERSION=2.4.12-r0 WWW_UID=33 /bin/sh -c addgroup -g $NAGIOS_GID nagios && adduser -g www-data -u $WWW_UID -DSH -h /var/www www-data && adduser -G nagios -g "Nagios Server" -DSH -h /var/nagios -u $NAGIOS_UID nagios && apk add --repository=https://dl-cdn.alpinelinux.org/alpine/edge/main --update --no-cache nagios=$NAGIOS_VERSION nagios-web nagios-plugins-all=$PLUGINS_VERSION nagios-plugins-mysql=$PLUGINS_VERSION nrpe-plugin && apk add --update --no-cache bash curl fcgiwrap file mariadb-client nginx openssl perl-crypt-x509 perl-libwww perl-text-glob perl-timedate php83 php83-fpm py3-pip py3-requests py3-pymysql python3 ssmtp tzdata && addgroup nginx nagios && chmod u+s /usr/lib/nagios/plugins/check_ping && sed -i -e s/use_syslog=.*/use_syslog=0/ -e s/^cfg_file/#cfg_file/ /etc/nagios/nagios.cfg && echo '$USER2$=/opt/nagios/plugins' >> /etc/nagios/resource.cfg && mv /etc/nagios/nagios.cfg /etc/nagios/nagios.cfg.proto && ln -fns /usr/local/bin/mail.sh /usr/sbin/sendmail && ln -s /usr/local/bin/mail.sh /usr/bin/mail && rm /etc/nginx/http.d/default.conf # buildkit |
| EXPOSE [80/tcp] |
| VOLUME [/etc/nagios /opt/nagios/plugins /var/nagios] |
| COPY nginx.conf /etc/nginx/http.d/nagios.conf # buildkit |
| COPY php-fpm-www.conf /etc/php83/php-fpm.d/www.conf # buildkit |
| COPY entrypoint.sh mail.sh /usr/local/bin/ # buildkit |
| ENTRYPOINT ["/bin/sh" "-c" "/usr/local/bin/entrypoint.sh"] |
Labels
| Key | Value |
|---|---|
| org.label-schema.build-date | |
| org.label-schema.license | GPL-2.0 |
| org.label-schema.name | nagios |
| org.label-schema.vcs-ref | |
| org.label-schema.vcs-url | https://github.com/instantlinux/docker-tools |
| org.opencontainers.image.created | 2026-01-20T14:58:40.569Z |
| org.opencontainers.image.description | |
| org.opencontainers.image.licenses | |
| org.opencontainers.image.revision | cfda1db938d31cf2a86ab83bf20abdb97333a9ad |
| org.opencontainers.image.source | https://gitea.phadric.de/andreas/nagios |
| org.opencontainers.image.title | nagios |
| org.opencontainers.image.url | https://gitea.phadric.de/andreas/nagios |
| org.opencontainers.image.version | 1.3.3 |