Namespace
library
Image / Tag
mongo:5.0.28-windowsservercore-ltsc2022
Content Digest
sha256:b19fda7fe59b66789846805df84b22d1ae9015942159642850cb1488a8978ff2
Details
Created

2024-09-11 00:01:41 UTC

Size

1.65 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

db9caacfb85f9f37f7621759d0fad008b9d575c9974bf3e25fa0d4b243000e89

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.28


Layers

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

[#001] sha256:f3013849534deef500e1c93f7518201a6351d77c994980c38a0861b899c7b020 - 0.0% (1.26 KB)

[#002] sha256:88cd0379a77828b76b6fbfeddb38018e93628e67a21623634270739cdbc9adab - 0.0% (1.26 KB)

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

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

[#005] sha256:9821891e04de04b9fa4d3ac0714935ef69986b79fb2df08dea51aeafaa300ec2 - 17.64% (299 MB)

[#006] sha256:150fc6cdd0203a04bf4eba9342eb51355438599910a77aec8cd84f2e4b51020f - 0.0% (1.26 KB)

[#007] sha256:3a19a429bfb4a736e4a208c3a727870d2a8fc03621b15ca0a15fb0b6f8c9bf81 - 0.0% (1.26 KB)

[#008] sha256:17ef90877524398af3a783ae78c928ab25df39a6cd3938fc185002fba03fc7db - 0.0% (1.26 KB)


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

Apply image 10.0.20348.2700

2024-09-11 00:00:54 UTC

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

2024-09-11 00:00:55 UTC

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

2024-09-11 00:00:56 UTC

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

2024-09-11 00:00:57 UTC

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

2024-09-11 00:01:34 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=Client,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 ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';

2024-09-11 00:01:38 UTC

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

2024-09-11 00:01:40 UTC

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

2024-09-11 00:01:41 UTC

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