Tag

library/mongo:8.0.29
Content Digest: sha256:02a0cc7939f5ed38f30f9bc714ef5f682d49baf9350c54acf302ce833087fe8a
Manifests
Details
Content Digest

sha256:ffe6488922674e956bef2273e7a938070cd7d5836b129992f052c3a8bb6b24a8

Created

2026-08-18 19:24:31 UTC

Size

300 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.0

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

8.0.29

PATH

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


Layers

[#000] sha256:0926a8eb0e608a5c6888d1cd5594184bdf3ed3aa311dba5b42a547caefdc6f2e - 9.45% (28.4 MB)

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

[#002] sha256:8f2380bd2541aade1906fa8f4725ee9102deb191f183d20490e6b26b8510f5e9 - 0.47% (1.4 MB)

[#003] sha256:f9cfac19fdbc08f9fef24645573bbc61f7ac483ece3b66516b249e959bf54fc8 - 0.3% (912 KB)

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

[#005] sha256:7e777b801285592fafae7c22f28ec397d0990fb491d7ae98e90e32ea34c4eece - 0.0% (263 Bytes)

[#006] sha256:8b136d4103779e7266a7b3a16fb09d1457e893263e836447b88db5da129b6ce7 - 89.79% (270 MB)

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


History
2026-08-17 13:09:48 UTC

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

2026-08-17 13:09:48 UTC

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

2026-08-17 13:09:48 UTC

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

2026-08-17 13:09:50 UTC

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

2026-08-17 13:09:51 UTC

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

2026-08-18 19:24:02 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-08-18 19:24:07 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-08-18 19:24:16 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-08-18 19:24:16 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2026-08-18 19:24:16 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2026-08-18 19:24:16 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-08-18 19:24:16 UTC (buildkit.dockerfile.v0)

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

2026-08-18 19:24:16 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2026-08-18 19:24:16 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2026-08-18 19:24:16 UTC (buildkit.dockerfile.v0)

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

2026-08-18 19:24:16 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=8.0

2026-08-18 19:24:16 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-08-18 19:24:16 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.29

2026-08-18 19:24:31 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-08-18 19:24:31 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2026-08-18 19:24:31 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2026-08-18 19:24:31 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2026-08-18 19:24:31 UTC (buildkit.dockerfile.v0)

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

2026-08-18 19:24:31 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-08-18 19:24:31 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2026-08-18 19:24:31 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Content Digest

sha256:873e4efc1b48b1aa90cdaa996d5503ae2bafb8f4c91eaaa83ade82e5060d8c62

Created

2026-08-12 17:50:26 UTC

Size

3.02 GB


Environment
MONGO_DOWNLOAD_SHA256

7c2a821f6caaffe53da63f3a048ba624e04f37358b749ce0ebe9da1684fdfedc

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.29


Layers

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

[#001] sha256:0e5abeeefbb7b11eb6332573ca632d3d8807213461f1b97f3cfee8899a29583f - 28.33% (875 MB)

[#002] sha256:1431b768a9a0ba04c416c5ab7ed6487186a2fb55c10236e589259c86dfa4c531 - 0.0% (1.25 KB)

[#003] sha256:f8df99a1b9c13ce353171d1eaa84dafc9a0e7051001a47e179bcdbd73d43f161 - 0.0% (1.26 KB)

[#004] sha256:a5ef0eb6de90d82e067d451359aa121a56bb3143b845a3a27ede671a74d3ea93 - 0.0% (1.25 KB)

[#005] sha256:8912cd13cc7c5a99270fc1fc61aec405bf8390ba1652d620bdfb8b1d76c6c936 - 0.0% (1.23 KB)

[#006] sha256:4b6902935ed2d3d92e424a9a71f331d49f0b3610702c51c450d7fc14eadb8973 - 24.65% (761 MB)

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

[#008] sha256:17a9e52928bc6bb1d726b028a9f9bd5d9893c38ba6d620b41a22c5930e541dae - 0.0% (1.25 KB)

[#009] sha256:0dbffd31d1caaae99fbe16f416b4e98be10ec9539b483801d810bd55f7bd6544 - 0.0% (1.23 KB)


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

Apply image 10.0.26100.32230

2026-08-09 09:10:21 UTC

Install update 10.0.26100.33296

2026-08-12 17:48:32 UTC

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

2026-08-12 17:48:33 UTC

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

2026-08-12 17:48:34 UTC

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

2026-08-12 17:48:35 UTC

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

2026-08-12 17:50:25 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-08-12 17:50:25 UTC

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

2026-08-12 17:50:26 UTC

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

2026-08-12 17:50:26 UTC

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

Details
Content Digest

sha256:74c74298427f1027d3b4bf71560ab9eebdf6437de8ffaacc84bb556d29458d99

Created

2026-08-12 18:28:14 UTC

Size

2.78 GB


Environment
MONGO_DOWNLOAD_SHA256

7c2a821f6caaffe53da63f3a048ba624e04f37358b749ce0ebe9da1684fdfedc

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.29


Layers

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

[#001] sha256:16a37dc2b2d3c6043d57b7ca0e32bc7d3fe761174f2d192d1aabe93b7895c9b7 - 23.3% (663 MB)

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

[#003] sha256:67a8eac6f240bbc85cd5dd9c6db61c9ecdea92525b96b6f452f66f9444843702 - 0.0% (1.26 KB)

[#004] sha256:40f59ac63d1bd5fef9521b72458027c08c21e56228215d190ad1f74e21f9e1b6 - 0.0% (1.26 KB)

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

[#006] sha256:28c366b7f3300c1c9705219f28f87485d2f41265426b2524e31e012cbe997e7b - 26.77% (761 MB)

[#007] sha256:e24b05edbab24454d7f1fe90b4935b25b367fca5da44464739e675a09d1505bb - 0.0% (1.29 KB)

[#008] sha256:938677f053bdaefed8a27097496452deee4fa384ce614abc69e70cf8d109afc4 - 0.0% (1.31 KB)

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


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

Apply image 10.0.20348.4294

2026-08-09 04:19:26 UTC

Install update 10.0.20348.5499

2026-08-12 17:47:47 UTC

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

2026-08-12 18:26:44 UTC

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

2026-08-12 18:26:44 UTC

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

2026-08-12 18:26:45 UTC

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

2026-08-12 18:28:09 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-08-12 18:28:12 UTC

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

2026-08-12 18:28:12 UTC

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

2026-08-12 18:28:14 UTC

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

Details
Content Digest

sha256:43cfd95ac9101cf925da82777d63c7a7d0a7c17efc0e348f6e45b4d59ca5c123

Created

2026-08-18 19:24:45 UTC

Size

288 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.0

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

8.0.29

PATH

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


Layers

[#000] sha256:0b613318ea879878918380aa3aeb220dfe824e311b83bc955cb8a1d4319650ab - 9.56% (27.5 MB)

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

[#002] sha256:bc649784f131921dc1361a8e3f1b8e0b7973ffe247e8b865465d9b85788ef3ac - 0.48% (1.38 MB)

[#003] sha256:514a79a8bae6febea19a81c21cd4a80818f7dfa8e3a520f1152efe370235bbcf - 0.29% (866 KB)

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

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

[#006] sha256:d67567d8694886c6d8a40577d0244a863bf2294943d174be8318d559aa808168 - 89.66% (258 MB)

[#007] sha256:7c7c2e54b6993c0684b260458feec00d8d0c847af5e1374633282a58ca680e98 - 0.0% (4.88 KB)


History
2026-08-17 13:11:31 UTC

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

2026-08-17 13:11:31 UTC

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

2026-08-17 13:11:31 UTC

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

2026-08-17 13:11:34 UTC

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

2026-08-17 13:11:34 UTC

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

2026-08-18 19:24:13 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-08-18 19:24:19 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-08-18 19:24:28 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-08-18 19:24:28 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2026-08-18 19:24:28 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2026-08-18 19:24:28 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-08-18 19:24:28 UTC (buildkit.dockerfile.v0)

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

2026-08-18 19:24:28 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2026-08-18 19:24:28 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2026-08-18 19:24:28 UTC (buildkit.dockerfile.v0)

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

2026-08-18 19:24:28 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=8.0

2026-08-18 19:24:28 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-08-18 19:24:28 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.29

2026-08-18 19:24:45 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-08-18 19:24:45 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2026-08-18 19:24:45 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2026-08-18 19:24:45 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2026-08-18 19:24:45 UTC (buildkit.dockerfile.v0)

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

2026-08-18 19:24:45 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-08-18 19:24:45 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2026-08-18 19:24:45 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.