Namespace
library
Image / Tag
mongo:6.0.25-windowsservercore-ltsc2022
Content Digest
sha256:1991970735ff8c36bcc41245333c29c534cc73052e88caaf7c24c362389dd9d0
Details
Created

2025-08-12 20:33:07 UTC

Size

2.62 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

1303e7480877cbd373bf1dbe1233631985d61898d7d5c85d3e8ef1ecca7d5f63

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.25


Layers

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

[#001] sha256:06b9b30319b49e62edeeff59663c236bf6a406712417e8a1be70ae07afd76e2c - 29.17% (782 MB)

[#002] sha256:2c264997c9bc449474e8a0e5ebe865a81af57261c342f00be89360bfc2d416ec - 0.0% (1.26 KB)

[#003] sha256:deff1e07244ddd7cb746033ea1b37bdd890f32905b13bdf497689bdd6e217ce3 - 0.0% (1.25 KB)

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

[#005] sha256:332c9db24a797be16bfa9f97bcbfcf059873dc79073d030f521d0b13ff7e96af - 0.0% (1.25 KB)

[#006] sha256:6e600e40e2412365952462d3df837e7458b7f003cc56cf483740864cb1328c7a - 18.78% (503 MB)

[#007] sha256:9105ea31a68080306f829308aa389065bdd147017be4e9ac7ae5621cff14c520 - 0.0% (1.25 KB)

[#008] sha256:d1d94322b43f550c509c3691791a6d6b33566448da1fbbe7a9845edb2ca96f25 - 0.0% (1.25 KB)

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


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

Apply image 10.0.20348.2700

2025-08-08 18:40:34 UTC

Install update 10.0.20348.4052

2025-08-12 20:32:18 UTC

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

2025-08-12 20:32:19 UTC

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

2025-08-12 20:32:20 UTC

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

2025-08-12 20:32:21 UTC

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

2025-08-12 20:33: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-08-12 20:33:05 UTC

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

2025-08-12 20:33:06 UTC

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

2025-08-12 20:33:07 UTC

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