Namespace
library
Image / Tag
mongo:latest
Content Digest
sha256:7acbcf333608e67bc140821d31144dcc579e1479d12d5292d67c74b470082a6a
Details
Created

2025-09-08 20:03:49 UTC

Size

285 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.18

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.13

PATH

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


Layers

[#000] sha256:76249c7cd50397d2e8c06a75106723d057deaba0ffbc7f4af1bb02bcf71d81cf - 9.96% (28.3 MB)

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

[#002] sha256:4ba0ed20cdee627aa1fbcb24ecf73ff958853057399d7ada8cdda98cf4dd08a9 - 0.51% (1.44 MB)

[#003] sha256:da3134f8e68647a7123b4ac350a37d2ad309bbde14917814456f7734a83437c0 - 0.31% (911 KB)

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

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

[#006] sha256:930dfd6340eb6878d40f935b6965e1d87fb79e93b0f28e00018551a4eb6d0fe3 - 89.22% (254 MB)

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


History
2025-08-19 14:36:58 UTC

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

2025-08-19 14:36:58 UTC

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

2025-08-19 14:36:58 UTC

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

2025-08-19 14:36:58 UTC

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

2025-08-19 14:37:00 UTC

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

2025-08-19 14:37:01 UTC

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

2025-09-08 20:03:49 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-09-08 20:03:49 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-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.18

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-09-08 20:03:49 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-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

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

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

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

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=8.0

2025-09-08 20:03:49 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-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.13

2025-09-08 20:03:49 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-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

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

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2025-09-10 22:01:01 UTC

Size

4.05 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

f301e2272fb222bf53b76883bbf95d07c54b116ad1e9e694234f002ad9abd0c4

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.13


Layers

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

[#001] sha256:2e9750fac680d8e6b6c2e0a6f7718b1ccb76f68a6ebd9f9da4c5e470458c7e72 - 31.16% (1.26 GB)

[#002] sha256:a4df9c75c4ec9315efd669b91b07f0be33e5cbc52c35adb35615527314652727 - 0.0% (1.28 KB)

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

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

[#005] sha256:06778e75d2c20696eac2da3bf10af1802f2c46a7cd36d0dea8f231b12b949ccd - 0.0% (1.26 KB)

[#006] sha256:af7766ef13b350f820dcaed3e2f1252c1123bcc47f50c984e5d2124e7afa27c0 - 17.95% (745 MB)

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

[#008] sha256:2196efb484a72181e251632f42cf877ab463a4de09bb7f9a184407609326ef8e - 0.0% (1.3 KB)

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


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

Apply image 10.0.26100.2605

2025-09-06 02:36:14 UTC

Install update 10.0.26100.6584

2025-09-10 21:58:54 UTC

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

2025-09-10 21:58:55 UTC

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

2025-09-10 21:58:56 UTC

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

2025-09-10 21:58:56 UTC

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

2025-09-10 22:00:59 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-09-10 22:01:00 UTC

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

2025-09-10 22:01:00 UTC

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

2025-09-10 22:01:01 UTC

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

Details
Created

2025-09-10 21:58:56 UTC

Size

2.85 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

f301e2272fb222bf53b76883bbf95d07c54b116ad1e9e694234f002ad9abd0c4

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.13


Layers

[#000] sha256:2534953f34d35976fc44cd67bfdd39fdcd9e2eaae57ada0be53d5fb936cd3a0b - 47.73% (1.36 GB)

[#001] sha256:3b109a50da182bf38f697ad080cf5640df286bdfc5e6a1f2f6b2002c48534385 - 26.77% (782 MB)

[#002] sha256:49765463c3d7d25619af165e8e9076efeb241b48967d5848f54537626c1e6386 - 0.0% (1.3 KB)

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

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

[#005] sha256:d443dc3d66fd7eaebe348446fb89e80efb84cf10a57b258913f2dd2de4019eb5 - 0.0% (1.31 KB)

[#006] sha256:61d37c22f6d577f063c7615a6ae5af992eba34ce743228eafd44ae64a12a974f - 25.5% (745 MB)

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

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

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


History
2024-09-06 00:01:38 UTC

Apply image 10.0.20348.2700

2025-09-05 13:15:05 UTC

Install update 10.0.20348.4171

2025-09-10 21:49:17 UTC

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

2025-09-10 21:57:19 UTC

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

2025-09-10 21:57:19 UTC

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

2025-09-10 21:57:20 UTC

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

2025-09-10 21:58:51 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-09-10 21:58:55 UTC

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

2025-09-10 21:58:55 UTC

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

2025-09-10 21:58:56 UTC

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

Details
Created

2025-09-08 20:03:49 UTC

Size

273 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.18

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.13

PATH

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


Layers

[#000] sha256:cc43ec4c13811c515d52d11a6039f3659696499c8782f5f3f601a3fdedf14082 - 10.08% (27.5 MB)

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

[#002] sha256:beda4782864366c239c155759047ed5e5ad4fc8b94fd90132ea66954df24bd27 - 0.52% (1.42 MB)

[#003] sha256:4b43425e165b5ee63a1ad55300001fce3443164f4242e1cdda37c770a9b164c7 - 0.31% (864 KB)

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

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

[#006] sha256:5e3fe511aefadb9d4f074cbec0a4c9341c623c1a6ecd657e68eb9b1adbfe5a0f - 89.08% (243 MB)

[#007] sha256:791918c131046c0fa611fa9bd95c2c117a2649fdac9b27ab53dd9bc99c6b5453 - 0.0% (4.88 KB)


History
2025-08-19 14:38:31 UTC

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

2025-08-19 14:38:31 UTC

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

2025-08-19 14:38:32 UTC

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

2025-08-19 14:38:32 UTC

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

2025-08-19 14:38:35 UTC

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

2025-08-19 14:38:35 UTC

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

2025-09-08 20:03:49 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-09-08 20:03:49 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-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.18

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-09-08 20:03:49 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-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

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

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

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

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=8.0

2025-09-08 20:03:49 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-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.13

2025-09-08 20:03:49 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-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

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

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-09-08 20:03:49 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-09-08 20:03:49 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