Namespace
library
Image / Tag
mongo:7.0.22-windowsservercore-ltsc2022
Content Digest
sha256:6282e7b02e84e7dd777bebae25494c97d90b1b1585ba15becfb4eb88cf0b98f3
Details
Created

2025-08-12 20:32:44 UTC

Size

2.7 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

c3b3cab89a024970ee1971c6ead4ede2c5e8be2e302616f5aa45e409cba30167

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.22


Layers

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

[#001] sha256:06b9b30319b49e62edeeff59663c236bf6a406712417e8a1be70ae07afd76e2c - 28.28% (782 MB)

[#002] sha256:483fd4a728beb05662fad6527a0107e16afd9eca8b65f16a6758f073fcf0a41f - 0.0% (1.26 KB)

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

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

[#005] sha256:7a7c3b0bdd219e3937302e4c75e4250798611eaaee8373e1deaf69d48ac9a1ef - 0.0% (1.25 KB)

[#006] sha256:8fe08a16c371927c2187b30624d89f81384533f6fa02735b324a95b243909b4e - 21.26% (588 MB)

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

[#008] sha256:502a80809d2830faae025f434fc47bc99323d7e96019deec6597c8b121746b26 - 0.0% (1.25 KB)

[#009] sha256:98e7da68920b15a85de3538d07068b44a2dcecb9610657d90c640d500060a1bf - 0.0% (1.26 KB)


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

Apply image 10.0.20348.2700

2025-08-08 18:40:34 UTC

Install update 10.0.20348.4052

2025-08-12 20:31:51 UTC

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

2025-08-12 20:31:52 UTC

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

2025-08-12 20:31:52 UTC

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

2025-08-12 20:31:53 UTC

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

2025-08-12 20:32:38 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-08-12 20:32:42 UTC

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

2025-08-12 20:32:43 UTC

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

2025-08-12 20:32:44 UTC

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