镜像构建历史
# 2026-09-03 04:17:11 0.00B 添加元数据标签
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=
# 2026-09-03 04:17:11 0.00B 设置默认要执行的命令
CMD ["/opt/netbox/docker-entrypoint.sh" "/opt/netbox/launch-netbox.sh"]
# 2026-09-03 04:17:11 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/bin/tini" "--"]
# 2026-09-03 04:17:11 0.00B 设置环境变量 LANG PATH VIRTUAL_ENV UV_NO_CACHE
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
# 2026-09-03 04:17:11 185.71MB 执行命令并创建新的镜像层
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
# 2026-09-03 04:16:43 0.00B 设置工作目录为/opt/netbox/netbox
WORKDIR /opt/netbox/netbox
# 2026-09-03 04:16:43 5.00B 复制新文件或目录到容器中
COPY VERSION /opt/netbox/VERSION # buildkit
# 2026-09-03 04:16:42 304.00B 复制新文件或目录到容器中
COPY docker/granian.py /opt/netbox/netbox/netbox/granian.py # buildkit
# 2026-09-03 04:16:42 32.60KB 复制新文件或目录到容器中
COPY configuration/ /etc/netbox/config/ # buildkit
# 2026-09-03 04:16:42 1.91KB 复制新文件或目录到容器中
COPY docker/super_user.py /opt/netbox/super_user.py # buildkit
# 2026-09-03 04:16:42 566.00B 复制新文件或目录到容器中
COPY docker/launch-netbox.sh /opt/netbox/launch-netbox.sh # buildkit
# 2026-09-03 04:16:42 2.02KB 复制新文件或目录到容器中
COPY docker/docker-entrypoint.sh /opt/netbox/docker-entrypoint.sh # buildkit
# 2026-09-03 04:16:42 526.00B 复制新文件或目录到容器中
COPY docker/ldap_config.docker.py /opt/netbox/netbox/netbox/ldap_config.py # buildkit
# 2026-09-03 04:16:42 2.54KB 复制新文件或目录到容器中
COPY docker/configuration.docker.py /opt/netbox/netbox/netbox/configuration.py # buildkit
# 2026-09-03 04:16:42 1.13KB 复制新文件或目录到容器中
COPY /requirements.txt /requirements-container.txt /opt/netbox/ # buildkit
# 2026-09-03 04:16:42 55.20MB 复制新文件或目录到容器中
COPY .netbox /opt/netbox # buildkit
# 2026-09-03 04:16:42 0.00B 定义构建参数
ARG NETBOX_PATH=.netbox
# 2026-09-03 04:16:41 350.04MB 复制新文件或目录到容器中
COPY /opt/netbox/venv /opt/netbox/venv # buildkit
# 2026-09-02 17:58:14 54.68MB 复制新文件或目录到容器中
COPY /usr/local/bin/uv /usr/local/bin/ # buildkit
# 2026-08-19 14:03:30 64.21MB 执行命令并创建新的镜像层
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
# 2026-08-17 17:02:45 179.00B
umoci raw add-layer --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/ubuntu:26.04 /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/.temp_layer.control_data.9259.tar
# 2026-08-17 17:02:45 0.00B
umoci config --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/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-08-17T09:02:45.677319+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.
# 2026-08-17 17:02:45 0.00B
umoci config --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/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-08-17T09:02:45.677319+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.
# 2026-08-17 17:02:45 0.00B
umoci config --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/ubuntu:26.04 --config.env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2026-08-17 17:02:45 0.00B
umoci config --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/ubuntu:26.04 --clear=config.cmd --config.cmd /bin/bash
# 2026-08-17 17:02:45 0.00B
umoci config --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/ubuntu:26.04 --clear=config.entrypoint --clear=config.cmd
# 2026-08-17 17:02:45 100.17MB
umoci raw add-layer --image /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/ubuntu:rockcraft-base /home/buildd/rockcraft-ubuntu-a6225d8d49f545f312e4b2d59bc5cd53/images/.temp_layer.9259.tar --tag 26.04
镜像信息
{
"Id": "sha256:65c8e2f394278a2ed5ef0b5d963cbe757b347483e830347bfd8370345a010721",
"RepoTags": [
"netboxcommunity/netbox:v4.7-5.1.0",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/netboxcommunity/netbox:v4.7-5.1.0"
],
"RepoDigests": [
"netboxcommunity/netbox@sha256:a2cdf00fab61d2ae37e4f987adaa403fad5c4049a63bc960768b7bbf804e2cb6",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/netboxcommunity/netbox@sha256:d75231e8041c7920c863945c81cf0908e346a7c12feaf5e8e1ce81b566dfd702"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2026-09-02T20:17:11.567720934Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/opt/netbox/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"LANG=C.utf8",
"VIRTUAL_ENV=/opt/netbox/venv",
"UV_NO_CACHE=1"
],
"Cmd": [
"/opt/netbox/docker-entrypoint.sh",
"/opt/netbox/launch-netbox.sh"
],
"ArgsEscaped": true,
"Image": "",
"Volumes": null,
"WorkingDir": "/opt/netbox/netbox",
"Entrypoint": [
"/usr/bin/tini",
"--"
],
"OnBuild": null,
"Labels": {
"netbox.build-reason": "ubuntu netbox 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:f3db1cd940786339b09d8a60e47c66fea9502d788e6fab5bec91a4a77d4ced1c",
"netbox.original-tag": "v4.7.0-5.1.0",
"org.opencontainers.image.authors": "The netbox-docker contributors.",
"org.opencontainers.image.created": "2026-09-02T20:14:04+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": "c7092cd0a729ebfbd1c6bce59e09df4953face24",
"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.0"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 810045788,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/ce05b38d0b98390a879ac2467018b5c09d2125b9f5f629f06154114f3f5abd35/diff:/var/lib/docker/overlay2/e8439e3f9016398772b091fb406448224951cdba419db0d17dd1ff51201c442a/diff:/var/lib/docker/overlay2/8836537f4e7b255925606ca5034473f6441211bb579102d16d59149bf28b7526/diff:/var/lib/docker/overlay2/a2e23541a85ad01075824df73b817c885369996b97192d74761f22aaf56a0466/diff:/var/lib/docker/overlay2/e0ebf50886315b3b4da62641c349c0a755e0bd95bc1d1572835ec0ddb24ebfc2/diff:/var/lib/docker/overlay2/c482bdac14ac854255f78540ef953705b90aa26025feca36ebe3b698dc40e990/diff:/var/lib/docker/overlay2/3a45cd95318cc6d824d7ea768be3bf861613e629460d99a083860514a6c4026c/diff:/var/lib/docker/overlay2/06320059e86d03e2695eb6c9f6feec5fe981d7aae60cc87f2ff575dcc8a25530/diff:/var/lib/docker/overlay2/830caa579cc51eb138d7644710f51010079ed3b41874a65cc316e6041c1c5b75/diff:/var/lib/docker/overlay2/3de85fa981e5a8553125ba6a9b09b3af82bd48eaf687d644ed717904b49e63b6/diff:/var/lib/docker/overlay2/177c3d5a8a0da008605d4a3fbaf3392a29522bb661a4cc734e93d76946fe5b8e/diff:/var/lib/docker/overlay2/f47873cde6ecd1d86549b8827fbfc8ea01559d089192aac09ec1d04fbb8470ff/diff:/var/lib/docker/overlay2/0f542d44394bab9ed72e06c270bbb9f2fdde1eab304b332ebe6f775c26100c6b/diff:/var/lib/docker/overlay2/df1442b410032cd9367ffdacf3706e79b46abb332dc31e24e1a68a339c9768e1/diff:/var/lib/docker/overlay2/c1cf9d850f0be3a535e0091bc081dad038a499437c86461ba9b9cf77a4054b7b/diff:/var/lib/docker/overlay2/3c4fa48b657887045f3fcdb95988217af41f483cd68c8ac290261e335064e926/diff",
"MergedDir": "/var/lib/docker/overlay2/aca4e4bec841ab7c7c9c350c9e5e5799b319403f9a524bb98fecb2298ba1470e/merged",
"UpperDir": "/var/lib/docker/overlay2/aca4e4bec841ab7c7c9c350c9e5e5799b319403f9a524bb98fecb2298ba1470e/diff",
"WorkDir": "/var/lib/docker/overlay2/aca4e4bec841ab7c7c9c350c9e5e5799b319403f9a524bb98fecb2298ba1470e/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:b577adbc0b589bb7c1d3be98cc4b703e8228ab4413156754445e8b20a001c5d3",
"sha256:168f4b64baaa0d1f3b8a1a27acfa9cd0f29527ebda716df024dfa0e9e8f24ef9",
"sha256:aa4b44dfe163cd739c129318d5911df4386a39bc90b4cc77013652359fbc1fd0",
"sha256:47f0d3817ad4a001b7b7e7323f871ce7d8927288f24b5dc7dbab32daf4eb7e50",
"sha256:44034046d9896a52cb8bbc7dd9ef957df768afb690f33945ea01cbedeb312bd9",
"sha256:8b10ab4bee8ed52e2a1b6065b89ba3b8581e27adf8ca8eaf6c4612cac29e43ae",
"sha256:21431f48ed24b5f9015e78e7ba2bfe4987102924e319680593cec4970644c97c",
"sha256:aac8ea3d3862dfc62572829d176da02ca54341c6ebf6826aa2d282809d32bbc6",
"sha256:b88b4e6b5cd5e81444ff628ab2330dceefeca0d1c636f58184780eb385f5ee21",
"sha256:7d5ef1b980b74220dc17811e8f9979f49c014239cfb4c9fd964fe5448d27ba11",
"sha256:6edabd94f80d945253c34612e63a99374b40d070d03b0fdd3ed06a6af52e1c9a",
"sha256:b767a7bc2263f549a6c2a45bea209be62812852b8dc49f65f0d2dd21b68d3e53",
"sha256:a07ed4393e0c6ed704fdeef3f95691688321ec0001fbc7bd77810f267ac1bf8d",
"sha256:ea2c8f60c47804a5f3fc662e1438eb6f9aeb3573471c73fa3f889a149f6f6828",
"sha256:e7344c7d732a74cb46a87e85c3c818bf6af10c6319ff55ab6d8ae0430de060b6",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
"sha256:69292818d05f5297ea0c7abd52382f85208f8dcd96095baed033702e7c7b8127"
]
},
"Metadata": {
"LastTagTime": "2026-09-04T14:21:23.61184868+08:00"
}
}