Namespace
library
Image / Tag
mongo:7.0.23-windowsservercore-ltsc2022
Content Digest
sha256:65056c163ea7c2802a48e8a2987767e7530ec7fb8c15d056601bcff2c745508b
Details
Created

2025-08-14 22:53:00 UTC

Size

2.7 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

930756f059e218a427192156655066a1c900b9493d7c107077ed89aca6fc950a

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.23


Layers

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

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

[#002] sha256:9eaf540acad7884bab042411faaf42af3baf649d0c21b0b6846479a0003e59bb - 0.0% (1.26 KB)

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

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

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

[#006] sha256:e70f2c9343bd0c7d49f400d53c847ba41c8211656f30a100916699e5b7b25059 - 21.31% (589 MB)

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

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

[#009] sha256:9b61553df5a379d80dc33b01974544ed65a4a858b7190df65bd0f24cd1e63d14 - 0.0% (1.25 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-14 22:51:56 UTC

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

2025-08-14 22:51:57 UTC

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

2025-08-14 22:51:58 UTC

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

2025-08-14 22:52:00 UTC

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

2025-08-14 22:52: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.';

2025-08-14 22:52:58 UTC

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

2025-08-14 22:52:59 UTC

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

2025-08-14 22:53:00 UTC

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