Tag

library/mongo:8.0.26
Content Digest: sha256:3ce3de7f40e914034b03b7dec654005ab54f7dc8306937e44ec6760d9e9409a1
Manifests
Details
Content Digest

sha256:7281281f68a3b9eba843d8c65af4fa88ae90d584577f595baedc1b18c7ae2f38

Created

2026-07-02 02:31:22 UTC

Size

298 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.26

PATH

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


Layers

[#000] sha256:ca2678b20700c15185707964d9211b1a6406196114bf675f568b6025d37b3888 - 9.51% (28.4 MB)

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

[#002] sha256:5f159f6e5103acae989d0774e853d60a0083249b48e1b8b8eac687a288e70e2a - 0.47% (1.4 MB)

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

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

[#005] sha256:180f923fd0df980c07f1ecf1e0411266cf9b1d7899d5ad6fc3fec672bbc71a51 - 0.0% (266 Bytes)

[#006] sha256:b8a855ed4abca03f5a708d1f82ee2d7346ec8575792c673d330e56a034e0f684 - 89.72% (267 MB)

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


History
2026-06-22 21:24:17 UTC

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

2026-06-22 21:24:18 UTC

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

2026-06-22 21:24:18 UTC

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

2026-06-22 21:24:20 UTC

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

2026-06-22 21:24:21 UTC

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

2026-07-02 02:30:53 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-07-02 02:30:58 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-07-02 02:31:06 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

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

ENV JSYAML_VERSION=3.13.1

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

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2026-07-02 02:31:06 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-07-02 02:31:07 UTC (buildkit.dockerfile.v0)

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

2026-07-02 02:31:07 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2026-07-02 02:31:07 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2026-07-02 02:31:07 UTC (buildkit.dockerfile.v0)

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

2026-07-02 02:31:07 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=8.0

2026-07-02 02:31:07 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-07-02 02:31:07 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.26

2026-07-02 02:31:22 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-07-02 02:31:22 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2026-07-02 02:31:22 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2026-07-02 02:31:22 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2026-07-02 02:31:22 UTC (buildkit.dockerfile.v0)

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

2026-07-02 02:31:22 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-07-02 02:31:22 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2026-07-02 02:31:22 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Content Digest

sha256:616667ce4106003d68715c28143806f5977d7a940103f15ffc202affdb3f33bb

Created

2026-07-15 23:16:56 UTC

Size

2.94 GB


Environment
MONGO_DOWNLOAD_SHA256

c098ff1c829307b40e61beb1c9b24faf31d489f45e75a4100938d8501dd6fe94

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.26


Layers

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

[#001] sha256:e24b28706e4e5f31fae7935e5a79e6df5d7a2eb3e69c8c19ca723f41f0b45f6f - 26.39% (793 MB)

[#002] sha256:732b3a514104f59ca4952cc46480cc50431cac70d27424b234414f81862dba46 - 0.0% (1.27 KB)

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

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

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

[#006] sha256:32d48f651b55f08f598514470676b6a5b411a0930a28595523b36cffc0048464 - 25.28% (760 MB)

[#007] sha256:4aa2aeaf08a80df34d8a89fed761aab616180e9db6a3e52191046f769c544b5d - 0.0% (1.23 KB)

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

[#009] sha256:12f6282060a3203d21d41ac97308f44f35c05eb3103996b500e7a77582847150 - 0.0% (1.23 KB)


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

Apply image 10.0.26100.32230

2026-07-11 23:02:35 UTC

Install update 10.0.26100.33158

2026-07-15 23:15:01 UTC

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

2026-07-15 23:15:01 UTC

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

2026-07-15 23:15:02 UTC

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

2026-07-15 23:15:03 UTC

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

2026-07-15 23:16:55 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-07-15 23:16:56 UTC

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

2026-07-15 23:16:56 UTC

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

2026-07-15 23:16:56 UTC

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

Details
Content Digest

sha256:9e4ebdef31f62ab19dd382bcc7151889ba4b810991dfef00bd78652ee82e455b

Created

2026-07-15 23:29:14 UTC

Size

2.75 GB


Environment
MONGO_DOWNLOAD_SHA256

c098ff1c829307b40e61beb1c9b24faf31d489f45e75a4100938d8501dd6fe94

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.26


Layers

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

[#001] sha256:0675e37b24741ccc9e6ff6dda8512e3be78ba3519c8af33b04872e4738349249 - 22.63% (638 MB)

[#002] sha256:0bf1c78502ad00fffdd2af2125d531140c1600970086b39c951658cd03fd6488 - 0.0% (1.26 KB)

[#003] sha256:54bc208501b02a9d946a4a520b892e6f80457b3a50839566907a9f152f924078 - 0.0% (1.27 KB)

[#004] sha256:fa92fbef1c8ca922d7241ee123e87fc0121f89702bfafaa9d7e8368d81bd1353 - 0.0% (1.28 KB)

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

[#006] sha256:a0ea64131f57c1ee8cda2f6c6bee8315ca193a9a4604c170dcf5aa49b45492f9 - 26.98% (760 MB)

[#007] sha256:69bb8a29f0d928fe96138d185a3e59114d22d706454fa3b27b065fd50e700004 - 0.0% (1.27 KB)

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

[#009] sha256:19b77ddeb19ada78f97c377bf1e5c10298ec3897a2f6159d25343049bb085c97 - 0.0% (1.27 KB)


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

Apply image 10.0.20348.4294

2026-07-11 16:30:20 UTC

Install update 10.0.20348.5386

2026-07-15 23:18:13 UTC

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

2026-07-15 23:27:26 UTC

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

2026-07-15 23:27:27 UTC

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

2026-07-15 23:27:27 UTC

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

2026-07-15 23:29:11 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-07-15 23:29:13 UTC

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

2026-07-15 23:29:14 UTC

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

2026-07-15 23:29:14 UTC

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

Details
Content Digest

sha256:1a0f72601dde2284b445ffdffc89d073684de2ab5f98ed17cc9ad3cc2f1007c3

Created

2026-07-02 02:30:32 UTC

Size

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

PATH

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


Layers

[#000] sha256:4b987da45db4d6278590ab89840c7167ea397df222f3ee4cdb77c3e15694b1a9 - 9.66% (27.5 MB)

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

[#002] sha256:58986be9b0634b9d8619855ce3a9d82bcf347c26beebb50f3ef232f021d0c7c9 - 0.49% (1.38 MB)

[#003] sha256:dcc0dcdc6728b1ec35cdf6c579dda6a4fece89041b995860ffe1bb83e6ded688 - 0.3% (865 KB)

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

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

[#006] sha256:c58ed426cc761f0eb4830086ef531496d01936200d978f679fec9c7a2b8d8f7a - 89.56% (255 MB)

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


History
2026-06-22 21:25:05 UTC

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

2026-06-22 21:25:05 UTC

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

2026-06-22 21:25:05 UTC

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

2026-06-22 21:25:07 UTC

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

2026-06-22 21:25:07 UTC

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

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

2026-07-02 02:30:06 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-07-02 02:30:15 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-07-02 02:30:15 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2026-07-02 02:30:15 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2026-07-02 02:30:15 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-07-02 02:30:15 UTC (buildkit.dockerfile.v0)

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

2026-07-02 02:30:15 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2026-07-02 02:30:15 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2026-07-02 02:30:15 UTC (buildkit.dockerfile.v0)

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

2026-07-02 02:30:15 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=8.0

2026-07-02 02:30:15 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-07-02 02:30:15 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.26

2026-07-02 02:30:32 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-07-02 02:30:32 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2026-07-02 02:30:32 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2026-07-02 02:30:32 UTC (buildkit.dockerfile.v0)

ENV GLIBC_TUNABLES=glibc.pthread.rseq=0

2026-07-02 02:30:32 UTC (buildkit.dockerfile.v0)

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

2026-07-02 02:30:32 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-07-02 02:30:32 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2026-07-02 02:30:32 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.