Namespace
library
Image / Tag
mongo:8.0.20-windowsservercore-ltsc2022
Content Digest
sha256:b2eaa6a7311160f507a3e1cc10ca53b1860b928b845e4198d496b05f1f015c93
Details
Created

2026-04-14 21:26:40 UTC

Size

2.66 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

d6e81160f4ca40f2709a347c1953e5fcca06719355ddb657017c125bd2aafc7f

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.20


Layers

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

[#001] sha256:7111ae68f8961455d230dc12d44c2193d29b7c981e35417323613a0c1aa06384 - 20.31% (554 MB)

[#002] sha256:368af72216070a87c0dd999e72c25fe4aff172c1950c41401ecce799450da50e - 0.0% (1.27 KB)

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

[#004] sha256:d8ac1d72427432ab4bfe419340143118ee374786595b5ff35908a0f5a61fdcc7 - 0.0% (1.3 KB)

[#005] sha256:1891c1d6350920871624c1f73704bab500c6787a7b552ac726edf803f62453b6 - 0.0% (1.27 KB)

[#006] sha256:3119625395e6d88aa250111f370c6e06e8ac549fb381627ca2552118219d8343 - 27.64% (754 MB)

[#007] sha256:a46353348ec34a5bd32316b7680fb12ae491a67964c66546f76b1a40a4852064 - 0.0% (1.28 KB)

[#008] sha256:4a691c6ab0dba2850fac9d94e8414dc86da9ce1b9d5a70cdd6941f72ea38985c - 0.0% (1.29 KB)

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


History
2025-10-09 07:51:18 UTC

Apply image 10.0.20348.4294

2026-04-13 03:24:09 UTC

Install update 10.0.20348.5020

2026-04-14 21:20:00 UTC

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

2026-04-14 21:22:36 UTC

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

2026-04-14 21:22:37 UTC

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

2026-04-14 21:22:38 UTC

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

2026-04-14 21:26:38 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-04-14 21:26:39 UTC

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

2026-04-14 21:26:39 UTC

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

2026-04-14 21:26:40 UTC

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