hanse-netbox (a2d4b31f0f9aff4c8942a2ac4a69d3a08d2c2517)
Published 2026-09-14 01:47:58 +02:00 by stb
Installation
docker pull git.hanse.de/hanse/hanse-netbox:a2d4b31f0f9aff4c8942a2ac4a69d3a08d2c2517sha256:b953e80bc4bcf19cc16fe10ccfc0b15aaaf58de3a7fbb2eea6b0a8ae7d3e2ff8About this package
A container based distribution of NetBox, the free and open IPAM and DCIM solution.
Image layers
| umoci raw add-layer --image /home/buildd/rockcraft-ubuntu-e1c60b1bc0d25a2115f571511888c62b/images/ubuntu:rockcraft-base /home/buildd/rockcraft-ubuntu-e1c60b1bc0d25a2115f571511888c62b/images/.temp_layer.9485.tar --tag 26.04 |
| umoci config --image /home/buildd/rockcraft-ubuntu-e1c60b1bc0d25a2115f571511888c62b/images/ubuntu:26.04 --clear=config.entrypoint --clear=config.cmd |
| umoci config --image /home/buildd/rockcraft-ubuntu-e1c60b1bc0d25a2115f571511888c62b/images/ubuntu:26.04 --clear=config.cmd --config.cmd /bin/bash |
| umoci config --image /home/buildd/rockcraft-ubuntu-e1c60b1bc0d25a2115f571511888c62b/images/ubuntu:26.04 --config.env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| umoci config --image /home/buildd/rockcraft-ubuntu-e1c60b1bc0d25a2115f571511888c62b/images/ubuntu:26.04 --clear=config.labels --config.label org.opencontainers.image.version=26.04 --config.label org.opencontainers.image.title=ubuntu --config.label org.opencontainers.image.created=2026-09-01T20:37:00.369571+00:00 --config.label org.opencontainers.image.description=The Ubuntu container image maintained by Canonical Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things. It is the world's most popular operating system across public clouds and OpenStack clouds. It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale. Fast, secure and simple, Ubuntu powers millions of PCs worldwide. |
| umoci config --image /home/buildd/rockcraft-ubuntu-e1c60b1bc0d25a2115f571511888c62b/images/ubuntu:26.04 --clear=manifest.annotations --manifest.annotation org.opencontainers.image.version=26.04 --manifest.annotation org.opencontainers.image.title=ubuntu --manifest.annotation org.opencontainers.image.created=2026-09-01T20:37:00.369571+00:00 --manifest.annotation org.opencontainers.image.description=The Ubuntu container image maintained by Canonical Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things. It is the world's most popular operating system across public clouds and OpenStack clouds. It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale. Fast, secure and simple, Ubuntu powers millions of PCs worldwide. |
| umoci raw add-layer --image /home/buildd/rockcraft-ubuntu-e1c60b1bc0d25a2115f571511888c62b/images/ubuntu:26.04 /home/buildd/rockcraft-ubuntu-e1c60b1bc0d25a2115f571511888c62b/images/.temp_layer.control_data.9485.tar |
| 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-openssl1 openssh-client openssl python3 tini && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY /usr/local/bin/uv /usr/local/bin/ # 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/launch-netbox.sh /opt/netbox/launch-netbox.sh # buildkit |
| COPY docker/health.sh /opt/netbox/health.sh # buildkit |
| COPY docker/super_user.py /opt/netbox/super_user.py # buildkit |
| COPY configuration/ /etc/netbox/config/ # buildkit |
| COPY docker/granian.py /opt/netbox/netbox/netbox/granian.py # buildkit |
| COPY VERSION /opt/netbox/VERSION # buildkit |
| WORKDIR /opt/netbox/netbox |
| RUN |1 NETBOX_PATH=.netbox /bin/sh -c useradd --home-dir /opt/netbox/ --no-create-home --no-user-group --system --shell /bin/false --uid 999 --gid 0 netbox && mkdir -p static media local && chown -R netbox:root media reports scripts && chmod -R g+w media reports scripts && cd /opt/netbox/ && SECRET_KEY="dummyKeyWithMinimumLength-------------------------" /opt/netbox/venv/bin/zensical build --config-file /opt/netbox/mkdocs.yml && DEBUG="true" SECRET_KEY="dummyKeyWithMinimumLength-------------------------" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input && echo "build: Docker-$(cat /opt/netbox/VERSION)" > /opt/netbox/netbox/local/release.yaml # buildkit |
| ENV LANG=C.utf8 PATH=/opt/netbox/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin VIRTUAL_ENV=/opt/netbox/venv UV_NO_CACHE=1 |
| 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 ./plugin_requirements.txt /opt/netbox/ |
| COPY ./configuration.py /etc/netbox/config/plugins.py |
| RUN uv pip install --python /opt/netbox/venv/bin/python3 -r /opt/netbox/plugin_requirements.txt && SECRET_KEY="dummydummydummydummydummydummydummydummydummydummy" /opt/netbox/venv/bin/python3 /opt/netbox/netbox/manage.py collectstatic --no-input |
Labels
| Key | Value |
|---|---|
| netbox.build-reason | ubuntu netbox-docker |
| netbox.git-branch | HEAD |
| netbox.git-ref | 5f06007e4c9bacc93ce17c1e645fc1143d60df3d |
| netbox.git-url | https://github.com/netbox-community/netbox.git |
| netbox.last-base-image-layer | sha256:6a7c4f6d8c3863707c14af40aad062db2bb477271491c7d3e99e03394dd261e3 |
| netbox.original-tag | v4.7.0-5.1.1 |
| org.opencontainers.image.authors | The netbox-docker contributors. |
| org.opencontainers.image.created | 2026-09-10T05:42:40+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.revision | 7689fec7a70717f7e72feecb383e7a3f55538b5f |
| 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 | 5.1.1 |
Details
2026-09-14 01:47:58 +02:00
Versions (3)
View all
Container
0
OCI / Docker
linux/amd64
The netbox-docker contributors.
Apache-2.0
256 MiB
a2d4b31f0f9aff4c8942a2ac4a69d3a08d2c2517
2026-09-14
main
2026-09-14
b3256f2564632dc695193c9f5c776b70f49a2b7a
2026-09-13