Namespace
library
Image / Tag
mongo:7.0.39-windowsservercore-ltsc2022
Content Digest
sha256:6fa78086030a9a97c4e391233cce0761530c7fcf9882c652e1f1e37ed7d72f95
Details
Created

2026-07-22 22:34:05 UTC

Size

2.59 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

ba908ce950272f3039acb53e3209fe1af5d6533d49bb14f3954ad68c26490edf

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.39


Layers

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

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

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

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

[#004] sha256:5a73363b7d1181531153e7b1d930d17eb7da32a8d5704dd33b537eb7a976898c - 0.0% (1.29 KB)

[#005] sha256:621769b79906abd4f4e5763a27a981119ffa919e164755d8ef01c485fb1b37a9 - 0.0% (1.29 KB)

[#006] sha256:505a743fec231ca6c50a74a535a365fc6f56b6a4d377791234eb3b8e32185636 - 22.46% (596 MB)

[#007] sha256:ab1d52d24cc4b0910735bbe81380cee52c6c845cda8039455ec5d272a8676314 - 0.0% (1.24 KB)

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

[#009] sha256:21ffc29ca00980550c88e80ac0be52a56977237d5387593bde15e58f11975aab - 0.0% (1.28 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-22 22:18:55 UTC

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

2026-07-22 22:32:19 UTC

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

2026-07-22 22:32:19 UTC

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

2026-07-22 22:32:20 UTC

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

2026-07-22 22:34:03 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-22 22:34:03 UTC

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

2026-07-22 22:34:04 UTC

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

2026-07-22 22:34:05 UTC

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