Namespace
library
Image / Tag
mongo:6.0.20-rc3-windowsservercore-ltsc2022
Content Digest
sha256:3de628d3c10de32c30fe86be2892067b77a098f0e33d8542ba997a8311a224f4
Details
Created

2025-01-14 23:36:04 UTC

Size

2.6 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

4c4688f61b8bce42885b8db64ea4fa4d27ab265b056e8d1b715409ed371f3070

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.20-rc3


Layers

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

[#001] sha256:440cf16a6c1eb5c6c232aa5e54099878e9ddb01fb83b65139ec4e2618d1e00de - 28.69% (763 MB)

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

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

[#004] sha256:6b997cae64cad56f5cf75b5271ec62ade411e126b7f2e73a5793a8ca89f71a6b - 0.0% (1.25 KB)

[#005] sha256:554d4426feaaa1dd5f3a8ee3a82d0e06fa6bd752905026ad8fb9ea0fd733fcba - 0.0% (1.25 KB)

[#006] sha256:ef189d7f63145c0421df35ce0ee2fec33501fa2d23b454be0f553d1bc85ffb56 - 18.88% (502 MB)

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

[#008] sha256:0d6f3c2832966a2824830073cd4ee00520aac06973922a64719e77e8e947ad0b - 0.0% (1.24 KB)

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


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

Apply image 10.0.20348.2700

2025-01-12 10:10:43 UTC

Install update 10.0.20348.3091

2025-01-14 23:34:52 UTC

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

2025-01-14 23:34:52 UTC

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

2025-01-14 23:34:53 UTC

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

2025-01-14 23:34:54 UTC

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

2025-01-14 23:36:02 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-01-14 23:36:03 UTC

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

2025-01-14 23:36:03 UTC

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

2025-01-14 23:36:04 UTC

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