Namespace
library
Image / Tag
mongo:8.2.1
Content Digest
sha256:e64a984d36b24419327c558b49a9100cf78191706222da6a7c8cf56a743ad3db
Details
Created

2025-11-13 23:31:03 UTC

Size

309 MB

Content Digest
Labels
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    24.04

Environment
GLIBC_TUNABLES

glibc.pthread.rseq=0

GOSU_VERSION

1.19

HOME

/data/db

JSYAML_CHECKSUM

662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

JSYAML_VERSION

3.13.1

MONGO_MAJOR

8.2

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

8.2.1

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


Layers

[#000] sha256:20043066d3d5c78b45520c5707319835ac7d1f3d7f0dded0138ea0897d6a3188 - 9.19% (28.3 MB)

[#001] sha256:fdc0018776b0f487f2371a06c27f3313e8c4933d32e343ecb61ef4d71ea6b02c - 0.0% (1.19 KB)

[#002] sha256:d97335354a5bc8900d513734e5ab60552ee64c3c6eac71b256b9db96b9da10be - 0.47% (1.44 MB)

[#003] sha256:a0ca46313493837cbd380230ed63797cde95951d6b5967ee39523b80a02d5ad8 - 0.29% (912 KB)

[#004] sha256:a801c4a80002b8e7826e1761759ff6abb9a74c1a0c6bf32c0fadc90fc1bd9a4f - 0.0% (116 Bytes)

[#005] sha256:eef62aa7c0527f89c1997c8e32108c88680dba0a2f9095239548de4fde57c367 - 0.0% (264 Bytes)

[#006] sha256:9d906841bd13312ee1fa0919899168d2f2d8fa9f632a240cb8b53dedeb59182a - 90.06% (278 MB)

[#007] sha256:46a33c43d8ef93a47c8293200fdd4efdfb9fe5111d8cb0f24ed6dc0e38d41606 - 0.0% (4.88 KB)


History
2025-10-16 19:23:01 UTC

/bin/sh -c #(nop) ARG RELEASE

2025-10-16 19:23:01 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2025-10-16 19:23:01 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2025-10-16 19:23:01 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04

2025-10-16 19:23:03 UTC

/bin/sh -c #(nop) ADD file:ddf1aa62235de6657123492b19d27d937c25668011b5ebf923a3f019200f8540 in /

2025-10-16 19:23:03 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2025-11-13 23:30:26 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; groupadd --gid 999 --system mongodb; useradd --uid 999 --system --gid mongodb --home-dir /data/db mongodb; mkdir -p /data/db /data/configdb; chown -R mongodb:mongodb /data/db /data/configdb # buildkit

2025-11-13 23:30:34 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates jq numactl procps ; rm -rf /var/lib/apt/lists/* # buildkit

2025-11-13 23:30:45 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2025-11-13 23:30:45 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-11-13 23:30:45 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-11-13 23:30:45 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg wget ; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; mkdir -p /opt/js-yaml/; wget -O /opt/js-yaml/js-yaml.tgz https://registry.npmjs.org/js-yaml/-/js-yaml-${JSYAML_VERSION}.tgz; echo "$JSYAML_CHECKSUM */opt/js-yaml/js-yaml.tgz" | sha256sum -c -; tar -xz --strip-components=1 -f /opt/js-yaml/js-yaml.tgz -C /opt/js-yaml package/dist/js-yaml.js package/package.json; rm /opt/js-yaml/js-yaml.tgz; ln -s /opt/js-yaml/dist/js-yaml.js /js-yaml.js; export GNUPGHOME="$(mktemp -d)"; wget -O KEYS 'https://pgp.mongodb.com/server-8.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '4B0752C1BCA238C0B4EE14DC41DE058A4E7DCA05' > /etc/apt/keyrings/mongodb.asc; gpgconf --kill all; rm -rf "$GNUPGHOME" KEYS; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2025-11-13 23:30:45 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2025-11-13 23:30:45 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-11-13 23:30:45 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-11-13 23:30:45 UTC (buildkit.dockerfile.v0)

ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org

2025-11-13 23:30:45 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=8.2

2025-11-13 23:30:45 UTC (buildkit.dockerfile.v0)

RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.asc ] http://$MONGO_REPO/apt/ubuntu noble/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2025-11-13 23:30:45 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.2.1

2025-11-13 23:31:03 UTC (buildkit.dockerfile.v0)

RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c set -x && export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -y ${MONGO_PACKAGE}=$MONGO_VERSION ${MONGO_PACKAGE}-server=$MONGO_VERSION ${MONGO_PACKAGE}-shell=$MONGO_VERSION ${MONGO_PACKAGE}-mongos=$MONGO_VERSION ${MONGO_PACKAGE}-tools=$MONGO_VERSION ${MONGO_PACKAGE}-database=$MONGO_VERSION ${MONGO_PACKAGE}-database-tools-extra=$MONGO_VERSION && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit

2025-11-13 23:31:03 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-11-13 23:31:03 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-11-13 23:31:03 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2025-11-13 23:31:03 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2025-11-13 23:31:03 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-11-13 23:31:03 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-11-13 23:31:03 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2025-11-11 19:15:22 UTC

Size

3.77 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

b005cfd5655f0e752d80fa83a6a37be231ab57639dd2f75cf9647ad315701386

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.2.1-signed.msi

MONGO_VERSION

8.2.1


Layers

[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 54.71% (2.06 GB)

[#001] sha256:a84ef3b04f81727036fe8b401efc70b6979844e2b78bdf09aa1b68b7ef4edf63 - 25.19% (973 MB)

[#002] sha256:20a11b482cdbbd9cf312b1e0d9026213b5d5b39b8ffefbe9c9640f45b20de717 - 0.0% (1.31 KB)

[#003] sha256:d324e97395bc2f7d5615ad9b57e5688675f54818099d298e8e71035554bd19b7 - 0.0% (1.29 KB)

[#004] sha256:f29d50e946ae69e7392bb1d6c6224a392a8d842df1b028153b52c7140c527822 - 0.0% (1.33 KB)

[#005] sha256:aab2b46fd1b3e3e4ce30c81ff962a4857e9717a541891b91fd2f074968acd9b2 - 0.0% (1.3 KB)

[#006] sha256:b1acf713147ac1372e91e78e77f949dcd662980f4e254ae1dd7b0af883344d37 - 20.09% (776 MB)

[#007] sha256:02451f60a0d1e0162fff09ded04bf246ebc8358162c4ecf8fb5c1139ff499c79 - 0.0% (1.27 KB)

[#008] sha256:cd65160aea6d78bc0bf46197a4b2ace010eb8a30ebca2527ceebfee7ef3ac860 - 0.0% (1.29 KB)

[#009] sha256:05f86ca6d03d63a3e43f2a0455bc16d3b5d0d6669dc62e0d319e3a0e657452eb - 0.0% (1.31 KB)


History
2024-12-08 22:41:37 UTC

Apply image 10.0.26100.2605

2025-11-09 10:25:55 UTC

Install update 10.0.26100.7171

2025-11-11 19:13:18 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]

2025-11-11 19:13:19 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.2.1

2025-11-11 19:13:20 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.2.1-signed.msi

2025-11-11 19:13:21 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=b005cfd5655f0e752d80fa83a6a37be231ab57639dd2f75cf9647ad315701386

2025-11-11 19:15:19 UTC

powershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile($env:MONGO_DOWNLOAD_URL, 'mongo.msi'); if ($env:MONGO_DOWNLOAD_SHA256) { Write-Host ('Verifying sha256 ({0}) ...' -f $env:MONGO_DOWNLOAD_SHA256); if ((Get-FileHash mongo.msi -Algorithm sha256).Hash -ne $env:MONGO_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; }; Write-Host 'Installing ...'; Start-Process msiexec -Wait -ArgumentList @( '/i', 'mongo.msi', '/quiet', '/qn', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongod.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $env:PATH = 'C:\mongodb\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';

2025-11-11 19:15:21 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]

2025-11-11 19:15:21 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017

2025-11-11 19:15:22 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]

Details
Created

2025-11-11 19:26:26 UTC

Size

2.41 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

b005cfd5655f0e752d80fa83a6a37be231ab57639dd2f75cf9647ad315701386

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.2.1-signed.msi

MONGO_VERSION

8.2.1


Layers

[#000] sha256:3cc21a1b754848d23f00aa65cb94ec34c9a5dc6028b3aada42039c824738d02f - 57.63% (1.39 GB)

[#001] sha256:3a26269efcb0f33c920b21f98d305592e7310bbe548291a16043e48a0c1feba5 - 10.87% (268 MB)

[#002] sha256:f291d602329acab85d3ee064a4257428aa4eb5ce7707134d2630f8b68bba8577 - 0.0% (1.29 KB)

[#003] sha256:2dd71f963b3d7dbe6707b772ab6c3dbd748703cced39e151410ae771fc704bd6 - 0.0% (1.28 KB)

[#004] sha256:1a03c9e0d321eb0422765df04324f9706925fe9b4bb94fbabaafacd2489ada11 - 0.0% (1.26 KB)

[#005] sha256:7886d11d782b465faa8aedeeedef6f8352cce7195725ee095073db3f241a810f - 0.0% (1.29 KB)

[#006] sha256:5293f75266e37266e19fd7cf389cd4fdd21775657ee32e99c8c8e15d3ed1931b - 31.5% (776 MB)

[#007] sha256:f324600ff7b1f64bf9397c45b70dc45f48bb093b38f633152139bd1cd40fd6b9 - 0.0% (1.3 KB)

[#008] sha256:6331797b7c20047edda86fc348df34119f7aaf4c3e2400a15840ecefc97e16e6 - 0.0% (1.29 KB)

[#009] sha256:aae668cb0350354a785d6d38ebb9c17c21b334a288fe79c8be1e6157803416e6 - 0.0% (1.3 KB)


History
2025-10-09 07:51:18 UTC

Apply image 10.0.20348.4294

2025-11-05 05:39:13 UTC

Install update 10.0.20348.4405

2025-11-11 19:21:58 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]

2025-11-11 19:24:43 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.2.1

2025-11-11 19:24:43 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.2.1-signed.msi

2025-11-11 19:24:44 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=b005cfd5655f0e752d80fa83a6a37be231ab57639dd2f75cf9647ad315701386

2025-11-11 19:26:24 UTC

powershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile($env:MONGO_DOWNLOAD_URL, 'mongo.msi'); if ($env:MONGO_DOWNLOAD_SHA256) { Write-Host ('Verifying sha256 ({0}) ...' -f $env:MONGO_DOWNLOAD_SHA256); if ((Get-FileHash mongo.msi -Algorithm sha256).Hash -ne $env:MONGO_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; }; Write-Host 'Installing ...'; Start-Process msiexec -Wait -ArgumentList @( '/i', 'mongo.msi', '/quiet', '/qn', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongod.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $env:PATH = 'C:\mongodb\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';

2025-11-11 19:26:25 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]

2025-11-11 19:26:26 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017

2025-11-11 19:26:26 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]

Details
Created

2025-11-13 23:30:46 UTC

Size

295 MB

Content Digest
Labels
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    24.04

Environment
GLIBC_TUNABLES

glibc.pthread.rseq=0

GOSU_VERSION

1.19

HOME

/data/db

JSYAML_CHECKSUM

662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

JSYAML_VERSION

3.13.1

MONGO_MAJOR

8.2

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

8.2.1

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


Layers

[#000] sha256:97dd3f0ce510a30a2868ff104e9ff286ffc0ef01284aebe383ea81e85e26a415 - 9.32% (27.5 MB)

[#001] sha256:1151f85307fdd42a6de72cb7d324c580b2d14901e5986f4f1f3e9429abf5363b - 0.0% (1.19 KB)

[#002] sha256:5d02a858529a5da837b28b91ce02a95e7f8505393e00f9954deda0de6a2f7a0c - 0.48% (1.42 MB)

[#003] sha256:ed78e2a7eb836584127519d8229589a35f3877bcc4e4efffb862f12fdcbfcc9c - 0.29% (865 KB)

[#004] sha256:de17d2a3df655c342475d140c9ec51410242e0487b2e4550aa0ed079fc8fc5bd - 0.0% (116 Bytes)

[#005] sha256:e48d4f41a653add2486f85c4614b39ac515fa64a18e0c4d43d4b6903fe73765c - 0.0% (264 Bytes)

[#006] sha256:86171ffeb76c80f06044ebb5ddc79421bf66457e0bdcbec6fe88a070b7f64a49 - 89.9% (265 MB)

[#007] sha256:cd46411e20c1347336e3c2bdc3c668513b546c5a11e83707b87bc7f4577664d6 - 0.0% (4.89 KB)


History
2025-10-16 19:26:52 UTC

/bin/sh -c #(nop) ARG RELEASE

2025-10-16 19:26:52 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2025-10-16 19:26:52 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2025-10-16 19:26:52 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04

2025-10-16 19:26:58 UTC

/bin/sh -c #(nop) ADD file:44fdb45bd3a8d9bd9c66b716aa0bb6ee11b6fbcceb59ee0eb54165785a35dfcb in /

2025-10-16 19:26:58 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2025-11-13 23:30:07 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; groupadd --gid 999 --system mongodb; useradd --uid 999 --system --gid mongodb --home-dir /data/db mongodb; mkdir -p /data/db /data/configdb; chown -R mongodb:mongodb /data/db /data/configdb # buildkit

2025-11-13 23:30:15 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates jq numactl procps ; rm -rf /var/lib/apt/lists/* # buildkit

2025-11-13 23:30:27 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2025-11-13 23:30:27 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-11-13 23:30:27 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-11-13 23:30:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg wget ; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; mkdir -p /opt/js-yaml/; wget -O /opt/js-yaml/js-yaml.tgz https://registry.npmjs.org/js-yaml/-/js-yaml-${JSYAML_VERSION}.tgz; echo "$JSYAML_CHECKSUM */opt/js-yaml/js-yaml.tgz" | sha256sum -c -; tar -xz --strip-components=1 -f /opt/js-yaml/js-yaml.tgz -C /opt/js-yaml package/dist/js-yaml.js package/package.json; rm /opt/js-yaml/js-yaml.tgz; ln -s /opt/js-yaml/dist/js-yaml.js /js-yaml.js; export GNUPGHOME="$(mktemp -d)"; wget -O KEYS 'https://pgp.mongodb.com/server-8.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '4B0752C1BCA238C0B4EE14DC41DE058A4E7DCA05' > /etc/apt/keyrings/mongodb.asc; gpgconf --kill all; rm -rf "$GNUPGHOME" KEYS; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit

2025-11-13 23:30:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2025-11-13 23:30:27 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-11-13 23:30:27 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-11-13 23:30:27 UTC (buildkit.dockerfile.v0)

ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org

2025-11-13 23:30:27 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=8.2

2025-11-13 23:30:27 UTC (buildkit.dockerfile.v0)

RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.asc ] http://$MONGO_REPO/apt/ubuntu noble/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2025-11-13 23:30:27 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.2.1

2025-11-13 23:30:46 UTC (buildkit.dockerfile.v0)

RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c set -x && export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -y ${MONGO_PACKAGE}=$MONGO_VERSION ${MONGO_PACKAGE}-server=$MONGO_VERSION ${MONGO_PACKAGE}-shell=$MONGO_VERSION ${MONGO_PACKAGE}-mongos=$MONGO_VERSION ${MONGO_PACKAGE}-tools=$MONGO_VERSION ${MONGO_PACKAGE}-database=$MONGO_VERSION ${MONGO_PACKAGE}-database-tools-extra=$MONGO_VERSION && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit

2025-11-13 23:30:46 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-11-13 23:30:46 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-11-13 23:30:46 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2025-11-13 23:30:46 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2025-11-13 23:30:46 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-11-13 23:30:46 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-11-13 23:30:46 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete