Tag

library/mongo:8.3.2
Content Digest: sha256:c4089dd2455d3fb673b8858c9db4bba193eb0e9b92abeb7db3b820cf9b393f05
Manifests
Details
Content Digest

sha256:9c14d725358ac2857027796cf08efd32089d80d42556d01869a0c0ea620ce423

Created

2026-06-02 08:19:37 UTC

Size

283 MB


Labels
  • 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.3

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

8.3.2

PATH

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


Layers

[#000] sha256:cb259a83ac3dd9fea0b394df41df2b298adf0df938fef5999475af18a751c257 - 10.0% (28.4 MB)

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

[#002] sha256:2dfc11f07bd92f50d21ef19fd70627b0dc3cf12f44b38ef479be7cb007aa93ff - 0.51% (1.44 MB)

[#003] sha256:18e693e5ce8d9a1b51a51730255634ca7243dd8324cfa5dd862192bd59456720 - 0.31% (912 KB)

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

[#005] sha256:602f6f380bf07190c0e43ede53c3aed2a2cd031a07f50593fdf1dd0fb766ef00 - 0.0% (267 Bytes)

[#006] sha256:1a2b6cc1c062d232d999bc1267bae7ebd32e867cfa266dd1141a4e9d39aa26f1 - 89.17% (253 MB)

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


History
2026-05-20 01:37:19 UTC

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

2026-05-20 01:37:19 UTC

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

2026-05-20 01:37:19 UTC

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

2026-05-20 01:37:21 UTC

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

2026-05-20 01:37:22 UTC

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

2026-06-02 08:19: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

2026-06-02 08:19:12 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

2026-06-02 08:19:20 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-06-02 08:19:20 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2026-06-02 08:19:20 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2026-06-02 08:19:20 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

2026-06-02 08:19:21 UTC (buildkit.dockerfile.v0)

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

2026-06-02 08:19:21 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2026-06-02 08:19:21 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2026-06-02 08:19:21 UTC (buildkit.dockerfile.v0)

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

2026-06-02 08:19:21 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=8.3

2026-06-02 08:19:21 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/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/$MONGO_PACKAGE.list" # buildkit

2026-06-02 08:19:21 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.3.2

2026-06-02 08:19:37 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

2026-06-02 08:19:37 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2026-06-02 08:19:37 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2026-06-02 08:19:37 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2026-06-02 08:19:37 UTC (buildkit.dockerfile.v0)

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

2026-06-02 08:19:37 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-06-02 08:19:37 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2026-06-02 08:19:37 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Content Digest

sha256:49289108ace46e8a3f37239415dcf394826abdf79d5346cf9b3082082bc3aa6c

Created

2026-06-09 22:25:22 UTC

Size

2.98 GB


Environment
MONGO_DOWNLOAD_SHA256

f2af413beb2fa9287b804c70f109563717a6fcdefe905562ca8eeee9762485a7

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.3.2


Layers

[#000] sha256:0938cf51b672b81c9804d1d5f0c57031c931f41b279270e84820c63642d6a3bd - 47.61% (1.42 GB)

[#001] sha256:2ee71d57b2226db82d002abc39a97b7dd144f007db435566364a0285bf115b83 - 23.64% (721 MB)

[#002] sha256:6985de59b876092dec8c3ddb9a1f1ad4ee6f297400431a4383dd16532d657dbb - 0.0% (1.25 KB)

[#003] sha256:86466ccc1d10ad61bf11c042ad32002301f71041f35d877e1ba9691cb78e185a - 0.0% (1.25 KB)

[#004] sha256:0127b49ee8df80f095835db8d9d713fadc6904180bc4a0c2e200566c0dc3e7ea - 0.0% (1.23 KB)

[#005] sha256:9cd293e1ac3c1e6df67bcb5f9749bae59ecfda2113c9c2f206814d46c9fe9c6d - 0.0% (1.28 KB)

[#006] sha256:bbf8e5f63c39a575f35d4318bc2087b265dd58682c70cbe5e41073fb32abdeac - 28.75% (877 MB)

[#007] sha256:a20dcb3a8fcf817e99cd96458ec54f50139344bb82a23a9de9d95514c6256b4d - 0.0% (1.25 KB)

[#008] sha256:88b766752bc9f8a1703f5e8663fa54dea19c63a51c6e55ffb2fa40e1398b6fff - 0.0% (1.25 KB)

[#009] sha256:0274dd854e24ae470cd2ec135c555267dafae779c87ef52cda92a046e6b317fa - 0.0% (1.23 KB)


History
2026-01-11 09:57:36 UTC

Apply image 10.0.26100.32230

2026-06-07 07:36:39 UTC

Install update 10.0.26100.32995

2026-06-09 22:23:15 UTC

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

2026-06-09 22:23:15 UTC

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

2026-06-09 22:23:15 UTC

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

2026-06-09 22:23:16 UTC

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

2026-06-09 22:25:21 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.';

2026-06-09 22:25:22 UTC

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

2026-06-09 22:25:22 UTC

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

2026-06-09 22:25:22 UTC

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

Details
Content Digest

sha256:677bf0bfdf2a94969fc529a43c0a220e8ff37e8ae51cdb135f6731bc3ea5d50c

Created

2026-06-09 22:26:19 UTC

Size

2.84 GB


Environment
MONGO_DOWNLOAD_SHA256

f2af413beb2fa9287b804c70f109563717a6fcdefe905562ca8eeee9762485a7

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.3.2


Layers

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

[#001] sha256:6897a04901ec162be0eabd7eb636b5ac50d6e37c880f1db618610f2d777b1ce6 - 21.07% (613 MB)

[#002] sha256:d09f22a9628ef0d5b0cc16feadb876572bfdd0fed92378ff8e8777f451c62ae3 - 0.0% (1.32 KB)

[#003] sha256:4698e439b5bf357205658ffd0c41618cef637e8a8240204ae2b08672ed2f9f9e - 0.0% (1.28 KB)

[#004] sha256:1eca306c2df29b4b1425f0f4adcdb8a512313848833c4f45b4004a1cab299464 - 0.0% (1.29 KB)

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

[#006] sha256:d4e7203e0fa65e3ccd189531d039ca6bfd8d87f039ca3f4f893d045882236ffc - 30.14% (877 MB)

[#007] sha256:ee5c42f9276d265cba21195edc4048283a80d15d9d975c6529499bc4b3247920 - 0.0% (1.26 KB)

[#008] sha256:9ba1be10227e1eaba262acf9b12c7e0441854169df128c54789e525511d35bea - 0.0% (1.26 KB)

[#009] sha256:ade5749a2b9b2da574c8cbc3b8f43f07ac9c3b03aaa008bed8b0ab38cc6ece5f - 0.0% (1.29 KB)


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

Apply image 10.0.20348.4294

2026-06-07 06:43:23 UTC

Install update 10.0.20348.5256

2026-06-09 22:09:21 UTC

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

2026-06-09 22:22:27 UTC

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

2026-06-09 22:22:28 UTC

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

2026-06-09 22:22:29 UTC

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

2026-06-09 22:26:15 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.';

2026-06-09 22:26:18 UTC

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

2026-06-09 22:26:19 UTC

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

2026-06-09 22:26:19 UTC

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

Details
Content Digest

sha256:19ac4163e4f64d9ffb65a62202a587a30dc333f07c5da6ffd0a03cf00f26298d

Created

2026-06-02 08:20:07 UTC

Size

270 MB


Labels
  • 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.3

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

8.3.2

PATH

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


Layers

[#000] sha256:fff3795b437199a0b714aadba6fb2c251d7da853c3e257d3fed1d2c8d0f05158 - 10.18% (27.5 MB)

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

[#002] sha256:bf6ae3b2df63a00f244b82c1a70739858d3123ee2935b5721d1924225c3fb41d - 0.53% (1.43 MB)

[#003] sha256:74fa8b46fdd4f2693f47504e45af0d661a8a7ee2ea4f1c2e47262a34b855d73e - 0.31% (865 KB)

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

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

[#006] sha256:ceed2f6c11c39c07160a21a4d9aeb4faddfae4f5b4a3d695ee5aa8effb29decc - 88.97% (241 MB)

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


History
2026-05-20 01:37:31 UTC

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

2026-05-20 01:37:31 UTC

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

2026-05-20 01:37:31 UTC

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

2026-05-20 01:37:34 UTC

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

2026-05-20 01:37:34 UTC

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

2026-06-02 08:19:35 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

2026-06-02 08:19:42 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

2026-06-02 08:19:51 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-06-02 08:19:51 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2026-06-02 08:19:51 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2026-06-02 08:19:51 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

2026-06-02 08:19:51 UTC (buildkit.dockerfile.v0)

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

2026-06-02 08:19:51 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2026-06-02 08:19:51 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2026-06-02 08:19:51 UTC (buildkit.dockerfile.v0)

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

2026-06-02 08:19:51 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=8.3

2026-06-02 08:19:51 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/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/$MONGO_PACKAGE.list" # buildkit

2026-06-02 08:19:51 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.3.2

2026-06-02 08:20:07 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

2026-06-02 08:20:07 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2026-06-02 08:20:07 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2026-06-02 08:20:07 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2026-06-02 08:20:07 UTC (buildkit.dockerfile.v0)

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

2026-06-02 08:20:07 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-06-02 08:20:07 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2026-06-02 08:20:07 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.