netbox (sha256:ccfa759a393d3443842856f2c874e814c210ecc5c66a809c268fde76adfee7c5)
Published 2025-01-08 12:35:13 -06:00 by jcollie
Installation
docker pull git.dmacc.net/jcollie/netbox@sha256:ccfa759a393d3443842856f2c874e814c210ecc5c66a809c268fde76adfee7c5sha256:ccfa759a393d3443842856f2c874e814c210ecc5c66a809c268fde76adfee7c5About this package
A container based distribution of NetBox, the free and open IPAM and DCIM solution.
Image layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:bcebbf0fddcba5b864d5d267b68dd23bcfb01275e6ec7bcab69bf8b56af14804 in / |
| CMD ["/bin/bash"] |
| RUN /bin/sh -c export DEBIAN_FRONTEND=noninteractive && apt-get update -qq && apt-get upgrade --yes -qq --no-install-recommends && apt-get install --yes -qq --no-install-recommends bzip2 ca-certificates curl libldap-common libpq5 libxmlsec1-openssl openssh-client openssl python3 tini && curl --silent --output /usr/share/keyrings/nginx-keyring.gpg https://unit.nginx.org/keys/nginx-keyring.gpg && echo "deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ noble unit" > /etc/apt/sources.list.d/unit.list && apt-get update -qq && apt-get install --yes -qq --no-install-recommends unit=1.34.0-1~noble unit-python3.12=1.34.0-1~noble && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY /opt/netbox/venv /opt/netbox/venv # buildkit |
| ARG NETBOX_PATH=.netbox |
| COPY .netbox /opt/netbox # buildkit |
| COPY /requirements.txt /requirements-container.txt /opt/netbox/ # buildkit |
| COPY docker/configuration.docker.py /opt/netbox/netbox/netbox/configuration.py # buildkit |
| COPY docker/ldap_config.docker.py /opt/netbox/netbox/netbox/ldap_config.py # buildkit |
| COPY docker/docker-entrypoint.sh /opt/netbox/docker-entrypoint.sh # buildkit |
| COPY docker/housekeeping.sh /opt/netbox/housekeeping.sh # buildkit |
| COPY docker/launch-netbox.sh /opt/netbox/launch-netbox.sh # buildkit |
| COPY configuration/ /etc/netbox/config/ # buildkit |
| COPY docker/nginx-unit.json /etc/unit/ # buildkit |
| WORKDIR /opt/netbox/netbox |
| RUN |1 NETBOX_PATH=.netbox /bin/sh -c mkdir -p static /opt/unit/state/ /opt/unit/tmp/ && chown -R unit:root /opt/unit/ media reports scripts && chmod -R g+w /opt/unit/ media reports scripts && cd /opt/netbox/ && SECRET_KEY="dummyKeyWithMinimumLength-------------------------" /opt/netbox/venv/bin/python -m mkdocs build --config-file /opt/netbox/mkdocs.yml --site-dir /opt/netbox/netbox/project-static/docs/ && SECRET_KEY="dummyKeyWithMinimumLength-------------------------" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input # buildkit |
| ENV LANG=C.utf8 PATH=/opt/netbox/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| ENTRYPOINT ["/usr/bin/tini" "--"] |
| CMD ["/opt/netbox/docker-entrypoint.sh" "/opt/netbox/launch-netbox.sh"] |
| LABEL netbox.original-tag= netbox.git-branch= netbox.git-ref= netbox.git-url= org.opencontainers.image.created= org.opencontainers.image.title=NetBox Docker org.opencontainers.image.description=A container based distribution of NetBox, the free and open IPAM and DCIM solution. org.opencontainers.image.licenses=Apache-2.0 org.opencontainers.image.authors=The netbox-docker contributors. org.opencontainers.image.vendor=The netbox-docker contributors. org.opencontainers.image.url=https://github.com/netbox-community/netbox-docker org.opencontainers.image.documentation=https://github.com/netbox-community/netbox-docker/wiki org.opencontainers.image.source=https://github.com/netbox-community/netbox-docker.git org.opencontainers.image.revision= org.opencontainers.image.version= |
| COPY ./nginx-unit.json /etc/unit/nginx-unit.json # buildkit |
| COPY ./plugins.py /etc/netbox/config/plugins.py # buildkit |
| RUN /bin/sh -c apt-get update # buildkit |
| RUN /bin/sh -c apt-get install -y git # buildkit |
| RUN /bin/sh -c /opt/netbox/venv/bin/pip install --no-cache-dir --no-warn-script-location netbox-plugin-dns==1.2.0 git+https://github.com/jasonyates/netbox-documents.git@refs/pull/71/head # buildkit |
| RUN /bin/sh -c SECRET_KEY="dummydummydummydummydummydummydummydummydummydummy" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input # buildkit |
Labels
| Key | Value |
|---|---|
| netbox.build-reason | newtag |
| netbox.git-branch | HEAD |
| netbox.git-ref | d04fc11c61684b8ebfcace4328087a14458bf747 |
| netbox.git-url | https://github.com/netbox-community/netbox.git |
| netbox.last-base-image-layer | |
| netbox.original-tag | v4.2.1-3.1.0 |
| org.opencontainers.image.authors | The netbox-docker contributors. |
| org.opencontainers.image.created | 2025-01-08T15:41+00:00 |
| org.opencontainers.image.description | A container based distribution of NetBox, the free and open IPAM and DCIM solution. |
| org.opencontainers.image.documentation | https://github.com/netbox-community/netbox-docker/wiki |
| org.opencontainers.image.licenses | Apache-2.0 |
| org.opencontainers.image.ref.name | ubuntu |
| org.opencontainers.image.revision | bd9bdd063570915312bafdb8c4a6b120805deaa5 |
| org.opencontainers.image.source | https://github.com/netbox-community/netbox-docker.git |
| org.opencontainers.image.title | NetBox Docker |
| org.opencontainers.image.url | https://github.com/netbox-community/netbox-docker |
| org.opencontainers.image.vendor | The netbox-docker contributors. |
| org.opencontainers.image.version | 3.1.0 |
Details
2025-01-08 12:35:13 -06:00
Versions (83)
View all
Container
6
OCI / Docker
linux/amd64
The netbox-docker contributors.
Apache-2.0
275 MiB
sha-c87f26a1
2025-10-31
latest
2025-10-31
20251031-144316
2025-10-31
20251027-152656
2025-10-27
sha-e040c5d2
2025-10-27