Namespace
library
Image / Tag
mongo:6.0.24-windowsservercore-ltsc2022
Content Digest
sha256:a0ec367a5b786494ac0286f786787cbb3c4436e97689d318815d0aa85788bb95
Details
Created

2025-07-09 18:08:22 UTC

Size

2.61 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

29efc8ca87db8f2fe35af9398c612e5fb7c1deca1ff4ae336c242a69934c0f6c

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.24


Layers

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

[#001] sha256:b829944a73d1d8ad37eaa13c64bf9189b6895cc5b45b79bb3563fa325d94b6a7 - 29.15% (780 MB)

[#002] sha256:d47298db92cff107630302a863f6bce74ef6d2c99f02b0b6337fdff43518d254 - 0.0% (1.25 KB)

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

[#004] sha256:946f0f8dc9cf96f411450db1d6bb07d20e5a49e56ac87e42ca35cf3fd4fa5ea6 - 0.0% (1.25 KB)

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

[#006] sha256:732ff84282d72b3b11e1ab75064e58eb5ee740e267f47fe16e791de364eb7add - 18.77% (503 MB)

[#007] sha256:82e52da67c958f9b9dae297f2a00966d1036cfa3cbf39318a0c2baaadeef211b - 0.0% (1.25 KB)

[#008] sha256:36c62ec195e5e6520ba0e86cf8958a488247098a96e1f22be2bdd10e12e9356d - 0.0% (1.26 KB)

[#009] sha256:da17f30f7a7178ef9b81445a70396394f09af5b365a54e9a6303719154ed5c73 - 0.0% (1.25 KB)


History
2024-09-06 00:01:38 UTC

Apply image 10.0.20348.2700

2025-07-05 05:31:06 UTC

Install update 10.0.20348.3932

2025-07-09 18:07:16 UTC

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

2025-07-09 18:07:17 UTC

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

2025-07-09 18:07:18 UTC

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

2025-07-09 18:07:19 UTC

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

2025-07-09 18:08:19 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 18:08:20 UTC

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

2025-07-09 18:08:21 UTC

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

2025-07-09 18:08:22 UTC

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