Namespace
library
Image / Tag
mongo:7.0.25-windowsservercore-ltsc2025
Content Digest
sha256:a7e8f9c3e54bb2512b8a3e706ba766f07a5209f102883f31d68e5cc9664a74ab
Details
Created

2025-11-11 19:27:57 UTC

Size

3.59 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

a6e4b64f4130bd82642eafc83a3644ebb7425c0c26ce7d445ed95da4a9767613

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.25


Layers

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

[#001] sha256:a84ef3b04f81727036fe8b401efc70b6979844e2b78bdf09aa1b68b7ef4edf63 - 26.47% (973 MB)

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

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

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

[#005] sha256:98a09173d29a80a7bfbbc4829e0fa9381ca30176ec8ed8b0a206ee2bae81400e - 0.0% (1.28 KB)

[#006] sha256:b8d3723e1907148fde2241bf5fd0eefda2066cc62f688220e96ad065afee5112 - 16.04% (590 MB)

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

[#008] sha256:eaabaffef7e532d34740f246a84d508e035bc3777812686576be6d2df6c0d848 - 0.0% (1.3 KB)

[#009] sha256:f58ae7ed7f2ce0ca11c2f6c7c998d52e521006029226149db7d468c71ce37477 - 0.0% (1.28 KB)


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

Apply image 10.0.26100.2605

2025-11-09 10:25:55 UTC

Install update 10.0.26100.7171

2025-11-11 19:26:24 UTC

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

2025-11-11 19:26:24 UTC

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

2025-11-11 19:26:25 UTC

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

2025-11-11 19:26:25 UTC

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

2025-11-11 19:27: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-11-11 19:27:56 UTC

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

2025-11-11 19:27:56 UTC

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

2025-11-11 19:27:57 UTC

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