Namespace
library
Image / Tag
mongo:7.0.21-windowsservercore-ltsc2025
Content Digest
sha256:831369eb8cdc4a5fa81870ea16163ab28fe0fb609fa5d4a25c96a8fb2317384a
Details
Created

2025-07-09 19:02:05 UTC

Size

3.83 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

35baeddf28f20f63a50d6a65bdb19492afdea42005bfb8621a8ec433ec9c748b

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

7.0.21


Layers

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

[#001] sha256:49ebc78effce2335b8fe04c34f5f1f3e33e513d5a7831fa81718af6737b3d654 - 31.06% (1.19 GB)

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

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

[#004] sha256:aa5c1ff82bd40793bbfe02fff4f04a8c09a1c629353675271c11d03d84ba36f7 - 0.0% (1.26 KB)

[#005] sha256:8f737ac448158e40a9b31a72803512fa8c386bbd2b38ac36d81750091ba80d3e - 0.0% (1.3 KB)

[#006] sha256:59b9abc5fd73cea4ff36292ca80d818aa8160ec68024ee017eca4066fa2aa7c9 - 15.0% (587 MB)

[#007] sha256:523affde96ae6b86511abec9eb41b909a4bbfacf3824a4b1e73cb782ac7da282 - 0.0% (1.29 KB)

[#008] sha256:6e0a8465b265a7d8a2c79ce54eebc49a43f50e6ee68fe2fd48d8e086a81ad394 - 0.0% (1.26 KB)

[#009] sha256:3a686036c304ce81127ee79cdb1fbdc758617c5f52ee733c9c43b28b14b5e52d - 0.0% (1.26 KB)


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

Apply image 10.0.26100.2605

2025-07-05 18:40:54 UTC

Install update 10.0.26100.4652

2025-07-09 19:00:30 UTC

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

2025-07-09 19:00:32 UTC

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

2025-07-09 19:00:33 UTC

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

2025-07-09 19:00:34 UTC

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

2025-07-09 19:02:01 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-07-09 19:02:02 UTC

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

2025-07-09 19:02:04 UTC

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

2025-07-09 19:02:05 UTC

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