Namespace
library
Image / Tag
mongo:7.0.41
Content Digest
sha256:b096b4cb9269f3ebcf363be63f1c50920f786879d03a1890347a3bf33f1f0df0
Details
Created

2026-09-09 02:34:31 UTC

Size

282 MB

Content Digest
Labels
  • org.opencontainers.image.version
    22.04

Environment
GOSU_VERSION

1.19

HOME

/data/db

JSYAML_CHECKSUM

662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

JSYAML_VERSION

3.13.1

MONGO_MAJOR

7.0

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

7.0.41

PATH

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


Layers

[#000] sha256:20c3783cc497b5b0df1fc5f92bd64c3d2fbb24057c88692c8fda205b6ea8a2f2 - 10.05% (28.4 MB)

[#001] sha256:bb5eead025c0e264b7d85683284c8d67c3673bf096c78bb967909a537f5f4ad7 - 0.0% (1.74 KB)

[#002] sha256:afd6e28789313b43af76f6a13ae8257ddc894672beb2d358ded15beee1b4a966 - 0.5% (1.4 MB)

[#003] sha256:5be2e05dd812c0ccedb84140a4a0a5014947ef02dbe8566a91357a169e300d30 - 0.3% (878 KB)

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

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

[#006] sha256:f44e97c1450a25cc35647ba31d2a5732aeab6e73ed2c39b9b571bdc9715adf97 - 89.14% (252 MB)

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


History
2026-09-03 12:14:51 UTC

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

2026-09-03 12:14:51 UTC

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

2026-09-03 12:14:51 UTC

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

2026-09-03 12:14:53 UTC

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

2026-09-03 12:14:54 UTC

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

2026-09-09 02:33:48 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-09-09 02:33:55 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-09-09 02:34:08 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-09-09 02:34:08 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2026-09-09 02:34:08 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2026-09-09 02:34:08 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-7.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor 'E58830201F7DD82CD808AA84160D26BB1785BA38' > /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-09-09 02:34:08 UTC (buildkit.dockerfile.v0)

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

2026-09-09 02:34:08 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2026-09-09 02:34:08 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2026-09-09 02:34:08 UTC (buildkit.dockerfile.v0)

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

2026-09-09 02:34:08 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=7.0

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

2026-09-09 02:34:08 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=7.0.41

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

VOLUME [/data/db /data/configdb]

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

ENV HOME=/data/db

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

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

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

ENTRYPOINT ["docker-entrypoint.sh"]

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

EXPOSE map[27017/tcp:{}]

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

CMD ["mongod"]

Details
Created

2026-09-09 22:49:08 UTC

Size

2.87 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

b4ed195f287c0d5356c3fd3f3dcb023f7bd01ec7b7a5bf6483dae995c92d352d

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.41


Layers

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

[#001] sha256:57ad760a8a0dac5abb352847ef76295f82b76df46372259a4df2102ad3adf78b - 30.31% (891 MB)

[#002] sha256:3cb3fa4662869be3b449efd2a31f7dcdb8e80acfbc3246e9dca68bcd9f204b0c - 0.0% (1.25 KB)

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

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

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

[#006] sha256:f9a5cd7b5f97390aa00ce066fb2cfb31f753ad1e968d1a14a3d2af55b6093c5c - 20.3% (597 MB)

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

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

[#009] sha256:1d79d0c651559623f92fd8cae638bcbbf9ee5b1a09d2c53f9a5dd250d8665545 - 0.0% (1.27 KB)


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

Apply image 10.0.26100.32230

2026-09-05 17:41:23 UTC

Install update 10.0.26100.33438

2026-09-09 22:47:28 UTC

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

2026-09-09 22:47:29 UTC

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

2026-09-09 22:47:29 UTC

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

2026-09-09 22:47:30 UTC

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

2026-09-09 22:49:07 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-09-09 22:49:07 UTC

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

2026-09-09 22:49:08 UTC

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

2026-09-09 22:49:08 UTC

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

Details
Created

2026-09-09 22:51:13 UTC

Size

2.65 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

b4ed195f287c0d5356c3fd3f3dcb023f7bd01ec7b7a5bf6483dae995c92d352d

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.41


Layers

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

[#001] sha256:415798186eb335ced6c3ef7f07db644b7c42771bc47e33781ec5cea24c3285b6 - 25.67% (697 MB)

[#002] sha256:0bd53535539a965dfefccb085ff6f849317dd72815f9376a6b9312cf48ef19b1 - 0.0% (1.27 KB)

[#003] sha256:32f0778967d8c5a7cfc05341a3cdd9650d26f802436e3157f0407d3adf30b236 - 0.0% (1.31 KB)

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

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

[#006] sha256:642367a9521bf36e76a54fcd7ff131537003b689c1a0bb82d06663e5619d66c3 - 22.0% (597 MB)

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

[#008] sha256:9997f1d20dc4b9273f62e312643cff164611c9a7d61ee25f01620a7ae8becc30 - 0.0% (1.29 KB)

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


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

Apply image 10.0.20348.4294

2026-09-05 23:48:54 UTC

Install update 10.0.20348.5622

2026-09-09 22:46:58 UTC

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

2026-09-09 22:49:23 UTC

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

2026-09-09 22:49:23 UTC

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

2026-09-09 22:49:24 UTC

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

2026-09-09 22:51:07 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-09-09 22:51:12 UTC

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

2026-09-09 22:51:12 UTC

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

2026-09-09 22:51:13 UTC

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

Details
Created

2026-09-09 01:39:03 UTC

Size

270 MB

Content Digest
Labels
  • org.opencontainers.image.version
    22.04

Environment
GOSU_VERSION

1.19

HOME

/data/db

JSYAML_CHECKSUM

662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

JSYAML_VERSION

3.13.1

MONGO_MAJOR

7.0

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

7.0.41

PATH

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


Layers

[#000] sha256:e4be80ccf23625c2b9f55507e92a0bef3343c6a3f274f9d593c52bd4d2fa2945 - 9.79% (26.4 MB)

[#001] sha256:e16509393112a8f07493cd3aec5f0d6c91fc4fc7e6a79d393c68db7b9c3f197f - 0.0% (1.75 KB)

[#002] sha256:b9b84ae1c2171926b0be95e378109fe81a13251f978cfc9bcee85c5d7c1b8676 - 0.51% (1.37 MB)

[#003] sha256:4227ae426f75923cc41f3324f2f75381e0ad13e8305a9defdc579d4d1a726d05 - 0.3% (831 KB)

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

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

[#006] sha256:e992bece4e8e3db591ecc35d0023af490e06fe65479d6bd897312e5882f0178d - 89.4% (241 MB)

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


History
2026-09-03 12:14:40 UTC

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

2026-09-03 12:14:40 UTC

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

2026-09-03 12:14:40 UTC

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

2026-09-03 12:14:43 UTC

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

2026-09-03 12:14:43 UTC

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

2026-09-09 01:38:21 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-09-09 01:38:30 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-09-09 01:38:41 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-09-09 01:38:41 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2026-09-09 01:38:41 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2026-09-09 01:38:41 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-7.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor 'E58830201F7DD82CD808AA84160D26BB1785BA38' > /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-09-09 01:38:41 UTC (buildkit.dockerfile.v0)

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

2026-09-09 01:38:41 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2026-09-09 01:38:41 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2026-09-09 01:38:41 UTC (buildkit.dockerfile.v0)

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

2026-09-09 01:38:41 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=7.0

2026-09-09 01:38:41 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 jammy/$MONGO_PACKAGE/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/$MONGO_PACKAGE.list" # buildkit

2026-09-09 01:38:41 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=7.0.41

2026-09-09 01:39:03 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-09-09 01:39:03 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2026-09-09 01:39:03 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2026-09-09 01:39:03 UTC (buildkit.dockerfile.v0)

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

2026-09-09 01:39:03 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-09-09 01:39:03 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2026-09-09 01:39:03 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