Namespace
library
Image / Tag
mongo:8.0.14
Content Digest
sha256:6eaaf8b194dc2c78a61deae63f1c163c2e55769c2157d6406f517d902694c792
Details
Created

2025-09-23 19:30:00 UTC

Size

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

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

8.0.14

PATH

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


Layers

[#000] sha256:a1a21c96bc16121569dd937bcd1c745a5081629b3b08a664446602ded91e10a4 - 9.87% (28.3 MB)

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

[#002] sha256:718c196629a0482040b3536e52acbf6d1a6fa3944435240ab3b97eed2867c41d - 1.3% (3.73 MB)

[#003] sha256:1d38927d895293c45e9259f362ff2d5c59b0148bd89cad41758149c8992cc814 - 0.31% (912 KB)

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

[#005] sha256:1b5956dc972ef18f75eab14a7b2bd572e692ebca38559490696d29727da17a81 - 0.0% (265 Bytes)

[#006] sha256:bfc11a96bb646f88a0ae516452ba2f1de0b3c99b3deb8c85f6b75e547529345b - 88.52% (254 MB)

[#007] sha256:0d28408bd394b7acdfc7ba7ab2cd273f59e60f3a7c8297ecd63d178acbde4d78 - 0.0% (4.88 KB)


History
2025-09-23 19:30:00 UTC

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

2025-09-23 19:30:00 UTC

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

2025-09-23 19:30:00 UTC

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

2025-09-23 19:30:00 UTC

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

2025-09-23 19:30:00 UTC

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

2025-09-23 19:30:00 UTC

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

2025-09-23 19:30:00 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-23 19:30:00 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-23 19:30:00 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-09-23 19:30:00 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-23 19:30:00 UTC (buildkit.dockerfile.v0)

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

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

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

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=8.0

2025-09-23 19:30:00 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-23 19:30:00 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.14

2025-09-23 19:30:00 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-23 19:30:00 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

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

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2025-09-22 22:15:48 UTC

Size

4.06 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

9374f9eb0449d1099b31d89376ae47ba5e088ba7a9b0f5a9155435c8bc6567bb

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.14


Layers

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

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

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

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

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

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

[#006] sha256:f8988c7f1f7ab2da2479ba65c002d5ead4d7b999e29630885b107b8dac65c90a - 18.01% (748 MB)

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

[#008] sha256:2f26d3f6ce50828a4beb906d996ecbe802534a9106c13ee8d3010745ded6a1c6 - 0.0% (1.27 KB)

[#009] sha256:e83912d64c2763a0eadf80777528a3841ba4ef988e77a4ad2d24a167f9f9af2c - 0.0% (1.29 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-22 22:12:15 UTC

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

2025-09-22 22:12:17 UTC

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

2025-09-22 22:12:18 UTC

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

2025-09-22 22:12:20 UTC

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

2025-09-22 22:15:47 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-22 22:15:48 UTC

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

2025-09-22 22:15:48 UTC

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

2025-09-22 22:15:48 UTC

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

Details
Created

2025-09-22 22:19:22 UTC

Size

2.86 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

9374f9eb0449d1099b31d89376ae47ba5e088ba7a9b0f5a9155435c8bc6567bb

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.14


Layers

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

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

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

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

[#004] sha256:7a4ea5d94dc94bf92d43fe8953bedf8829431c223f4a434d2d57fa5d555c50e5 - 0.0% (1.3 KB)

[#005] sha256:13f73042271b3c7be7e2788969b8f68a78f0e2d8c429b2297aa881f665f8ff21 - 0.0% (1.28 KB)

[#006] sha256:0d2bce694a973b9260face23883989156975dc4c629a489fcdcce2865338f71b - 25.58% (748 MB)

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

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

[#009] sha256:d42ef08ca9bf87eb1dd2990fdc8645bedc2a95a366d92901dbb87a70ab88a0a9 - 0.0% (1.29 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-22 22:11:05 UTC

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

2025-09-22 22:11:06 UTC

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

2025-09-22 22:11:07 UTC

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

2025-09-22 22:11:07 UTC

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

2025-09-22 22:19:20 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-22 22:19:21 UTC

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

2025-09-22 22:19:21 UTC

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

2025-09-22 22:19:22 UTC

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

Details
Created

2025-09-23 19:30:00 UTC

Size

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

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

8.0.14

PATH

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


Layers

[#000] sha256:7bdf644cff2e9be580c17c3db8d5fc564ad093513bf0fbebebc392c17fa925e5 - 10.01% (27.5 MB)

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

[#002] sha256:3787bc47d9f8aa919157651b4675c0fc4964e655c1dd2cd3d73d4c2c7e748ffd - 1.29% (3.54 MB)

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

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

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

[#006] sha256:22ae389cdbcc36db1be988dad45e91ee1615ac93a6b7e9f07492bea03b1db7c6 - 88.4% (243 MB)

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


History
2025-09-23 19:30:00 UTC

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

2025-09-23 19:30:00 UTC

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

2025-09-23 19:30:00 UTC

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

2025-09-23 19:30:00 UTC

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

2025-09-23 19:30:00 UTC

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

2025-09-23 19:30:00 UTC

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

2025-09-23 19:30:00 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-23 19:30:00 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-23 19:30:00 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-09-23 19:30:00 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-23 19:30:00 UTC (buildkit.dockerfile.v0)

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

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

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

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=8.0

2025-09-23 19:30:00 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-23 19:30:00 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.14

2025-09-23 19:30:00 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-23 19:30:00 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

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

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-09-23 19:30:00 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-09-23 19:30:00 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