Namespace
library
Image / Tag
mongo:7.0.23-windowsservercore-ltsc2025
Content Digest
sha256:19564c5d621e3643fc1815250b1b9528a4e1b4d6f945429b5ca8e810f06f49c2
Details
Created

2025-08-14 22:53:38 UTC

Size

3.83 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:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 53.81% (2.06 GB)

[#001] sha256:203c144449ed67b479a4424fa1d1138f1c8909f1e47a45a6500d4d7f7d058549 - 31.18% (1.2 GB)

[#002] sha256:27f8f31e83a1926c85618d38ed20456531ccfce73fb4b76ef501e624b888cd44 - 0.0% (1.32 KB)

[#003] sha256:aa867156522169e6bafa069270a9889a67a17c1709aeb24afd4b015971262c0b - 0.0% (1.32 KB)

[#004] sha256:6f2643116bd2ed312183c30fc98b9d65bafe6f00989f2d3cc44d9e37166bb176 - 0.0% (1.31 KB)

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

[#006] sha256:34dc3c7a06def8fddf5ae4b46e7a81c8b14d77574aea1e908048080610a413fa - 15.01% (589 MB)

[#007] sha256:5a27ba27034dc7e127a8f94b360b8b48949427826b3fcf4aa5153db8b24b91a1 - 0.0% (1.29 KB)

[#008] sha256:c8b86c82b3c71bae63a9f0fb63bb7cbe781afa8477182038039b361befdc9b50 - 0.0% (1.28 KB)

[#009] sha256:291e7f5f3d4ad2914ef11190a36df77b8c9956ac14e23e096b6fdcf56f71a6ce - 0.0% (1.3 KB)


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

Apply image 10.0.26100.2605

2025-08-10 03:12:45 UTC

Install update 10.0.26100.4946

2025-08-14 22:52:46 UTC

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

2025-08-14 22:52:46 UTC

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

2025-08-14 22:52:47 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:47 UTC

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

2025-08-14 22:53:36 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:53:37 UTC

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

2025-08-14 22:53:37 UTC

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

2025-08-14 22:53:38 UTC

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