Tag

library/mongo:7.0.19
Content Digest: sha256:e5aa36b2b88d39499567ee93a5accc6add94ddc2efd6bb2a5d51b8a84da63e98
Manifests
Details
Content Digest

sha256:b61aac0fa893f9b8f920efbc16353a3f3f653e4c1e69ecd144c83b4d4a4604ca

Created

2025-04-14 16:06:28 UTC

Size

262 MB


Labels
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    22.04

Environment
GOSU_VERSION

1.17

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

PATH

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


Layers

[#000] sha256:30a9c22ae099393b0131322d7f50d8a9d7cd06c5e518cd27a19ac960a4d0aba3 - 10.76% (28.2 MB)

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

[#002] sha256:2f2327a8c47b8b9cd75c8ce26637dc1ff3f8bd161d4285768fef18c9d7da6e8a - 0.55% (1.44 MB)

[#003] sha256:ce2251dfa4cd7d6d8e06d71abbf3f65a1f9f0039993d098731c8177389e54609 - 0.4% (1.04 MB)

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

[#005] sha256:2c3f7eaf0f5d07405b080c62f6ea99746595a15e6cf08edea7383e185e3148ee - 0.0% (261 Bytes)

[#006] sha256:2a2c774d38e166acd76f16304a7f571542903b8aee73852d1be9d14eb3bc545d - 88.29% (231 MB)

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


History
2025-04-07 07:24:14 UTC

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

2025-04-07 07:24:14 UTC

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

2025-04-07 07:24:14 UTC

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

2025-04-07 07:24:14 UTC

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

2025-04-07 07:24:17 UTC

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

2025-04-07 07:24:18 UTC

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

2025-04-14 16:06:28 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-04-14 16:06:28 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-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-04-14 16:06: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-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

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

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

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

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

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=7.0

2025-04-14 16:06: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 jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=7.0.19

2025-04-14 16:06:28 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-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

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

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Content Digest

sha256:35bea149b1af1168e7f371a2f5dc63e03c7f406601dccc0fd191362214ae9227

Created

2025-04-18 03:22:44 UTC

Size

3.73 GB


Environment
MONGO_DOWNLOAD_SHA256

815ab9b621acea764f1ecc99c0b686162116ded842a384e4b280713343a3bf9b

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.19


Layers

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

[#001] sha256:86a55b9bd12cfb5d81d64963683e6d5d0ba9423233c85140eff135128a64f7ee - 29.44% (1.1 GB)

[#002] sha256:73c2d9ff4d6942332cab8ad7ce65e6bb0a1d230c41afced957bb4de25f018dbd - 0.0% (1.33 KB)

[#003] sha256:26e97adc6144862b44817898597929fbf82c11ec310e39af5b433718345c6a6a - 0.0% (1.28 KB)

[#004] sha256:59de38f60fc28820e3cb6f8288d26ba191858e3efa23880b606412b63680d447 - 0.0% (1.34 KB)

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

[#006] sha256:890a08030d769352c944724ee3f2c446a9bf9f8075225a69694c514f62fb1432 - 15.29% (584 MB)

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

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

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


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

Apply image 10.0.26100.2605

2025-04-15 10:03:37 UTC

Install update 10.0.26100.3781

2025-04-18 03:21:19 UTC

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

2025-04-18 03:21:20 UTC

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

2025-04-18 03:21:21 UTC

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

2025-04-18 03:21:22 UTC

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

2025-04-18 03:22:40 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-04-18 03:22:41 UTC

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

2025-04-18 03:22:43 UTC

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

2025-04-18 03:22:44 UTC

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

Details
Content Digest

sha256:a7d323e64a1b2c89034fc2b9d0797a904da29c7339c27d68ea74679c504fba54

Created

2025-04-18 03:26:19 UTC

Size

2.69 GB


Environment
MONGO_DOWNLOAD_SHA256

815ab9b621acea764f1ecc99c0b686162116ded842a384e4b280713343a3bf9b

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.19


Layers

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

[#001] sha256:b0b6ee194dfee460cc53e0f761b7ff976c08380d6cd1e70cc50ff92cfa99d176 - 28.11% (774 MB)

[#002] sha256:19c5b7072fee1b8a3221c827a794645d99e21e2d2fcebbbd0e71f06f26997ff9 - 0.0% (1.25 KB)

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

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

[#005] sha256:962763d1cb0743568be800c274af781a462f4037050f75b10bbf5d4b84302ee0 - 0.0% (1.25 KB)

[#006] sha256:b6de5853de4c2ff1ba98120c69021fef06cb1ae03f80e5736a9d57315f656a76 - 21.23% (584 MB)

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

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

[#009] sha256:62197c2bce3eae11d81f6717d547760c4d1d694db8202f7eec9f68eb2d3a1114 - 0.0% (1.26 KB)


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

Apply image 10.0.20348.2700

2025-04-16 03:49:18 UTC

Install update 10.0.20348.3566

2025-04-18 03:25:04 UTC

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

2025-04-18 03:25:05 UTC

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

2025-04-18 03:25:06 UTC

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

2025-04-18 03:25:07 UTC

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

2025-04-18 03:26:16 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-04-18 03:26:18 UTC

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

2025-04-18 03:26:18 UTC

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

2025-04-18 03:26:19 UTC

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

Details
Content Digest

sha256:a5841bdf0fdd64cab474acde95d0dd9a553fd23796571ae1e752ba17a5614921

Created

2025-04-18 03:22:46 UTC

Size

2.59 GB


Environment
MONGO_DOWNLOAD_SHA256

815ab9b621acea764f1ecc99c0b686162116ded842a384e4b280713343a3bf9b

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.19


Layers

[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 61.92% (1.6 GB)

[#001] sha256:632102e3f287de7b6ffd6cab740fb7afe94ac8418060651b0954506aeecc48f1 - 16.03% (425 MB)

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

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

[#004] sha256:ce950f468917856ee3731e299571341558b56be0fa6431730d8ffd5e4065b5e2 - 0.0% (1.27 KB)

[#005] sha256:78fdeb688244ad10d0763f9320d21c7353475b893825f81e77d41690017b3c23 - 0.0% (1.28 KB)

[#006] sha256:82f9b35a4f51318636f0f7a8d4e8e2ce0b0aeddec50ab90431278ea52351417e - 22.05% (584 MB)

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

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

[#009] sha256:315ec52930ff653a2100c1bcfe6efaf97396a010ca3e5b5d1239c6588df69f07 - 0.0% (1.26 KB)


History
2024-09-06 01:15:31 UTC

Apply image 10.0.17763.6293

2025-04-15 01:47:49 UTC

Install update 10.0.17763.7249

2025-04-18 03:21:15 UTC

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

2025-04-18 03:21:16 UTC

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

2025-04-18 03:21:16 UTC

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

2025-04-18 03:21:17 UTC

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

2025-04-18 03:22:44 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-04-18 03:22:45 UTC

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

2025-04-18 03:22:46 UTC

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

2025-04-18 03:22:46 UTC

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

Details
Content Digest

sha256:482c3a54af5980777a01c5bd97ea29fc13a65e546bb0f34c17b03f0fd2808366

Created

2025-04-14 16:06:28 UTC

Size

250 MB


Labels
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    22.04

Environment
GOSU_VERSION

1.17

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

PATH

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


Layers

[#000] sha256:7b76bc00f23a24375cf6b51079ebcf72fb02d56fa741b31e5f979672fc65c576 - 10.45% (26.1 MB)

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

[#002] sha256:d49f871ed9c366a03abbed08130f14a06a417b31c488a293fb737c96eb1ecc46 - 0.57% (1.41 MB)

[#003] sha256:5d0976ecb3fa7dc5b968591834262135f37cfc69232f44dfd5b0220c9716753b - 0.39% (1000 KB)

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

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

[#006] sha256:057e643d544544d37aa5bf0bc7d83454cebeb268b5ef83ec8235b3bc547f6988 - 88.59% (221 MB)

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


History
2025-04-07 07:27:02 UTC

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

2025-04-07 07:27:02 UTC

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

2025-04-07 07:27:02 UTC

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

2025-04-07 07:27:02 UTC

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

2025-04-07 07:27:04 UTC

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

2025-04-07 07:27:05 UTC

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

2025-04-14 16:06:28 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-04-14 16:06:28 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-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941

2025-04-14 16:06: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-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

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

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

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

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

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=7.0

2025-04-14 16:06: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 jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=7.0.19

2025-04-14 16:06:28 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-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

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

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-04-14 16:06:28 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2025-04-14 16:06:28 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.