Namespace
library
Image / Tag
mongo:5.0-windowsservercore-1809
Content Digest
sha256:4c2c66eb44715eb6160db0f9e0409f73699c64d52ccd7a18d030386fd17d5e19
Details
Created

2025-02-13 00:34:53 UTC

Size

2.28 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

fd7fdc89d5caeb56a86f5a5f67007435a48af9c80407b181b6edac0945bb2e63

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.31


Layers

[#000] sha256:803f4a9590cb9c635813cbd0ee89190f92d5fe4c7589711cf468879e42ce02ba - 70.2% (1.6 GB)

[#001] sha256:c3af2bd0a1965eaed07372d9df47eb5ee783273fad4e91a30412cdd07c198cc7 - 17.0% (397 MB)

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

[#003] sha256:47b1097d8655322284c7c41053e39b3c8232fcee6aa878a843e30249c429681f - 0.0% (1.27 KB)

[#004] sha256:07e62a3f3f8580df187b153772362bc9bc9bbd17d3ad22f51afaa6a9bd731219 - 0.0% (1.31 KB)

[#005] sha256:3ba55dbdd69e236b34cf8a39288a41f4104c6f2815e4a45e72e9fce33196f781 - 0.0% (1.32 KB)

[#006] sha256:89f0dde5ceb9c1738678dfb6bbeb85c507892cc72bdd673c7625425ff103f5d0 - 12.8% (299 MB)

[#007] sha256:68d76b9d834205ca9a5328f7724c85cad83463b71cbff538ed64e637a5525aeb - 0.0% (1.26 KB)

[#008] sha256:3bd6ce9fb345ef6eb1e15107698fb706b89204126ab4ad057a801d2318e1125a - 0.0% (1.27 KB)

[#009] sha256:c2753f8736f444df7c6625c84fcd75cc59399e8981f3066174fbc245cf14dfd0 - 0.0% (1.27 KB)


History
2024-09-06 01:15:31 UTC

Apply image 10.0.17763.6293

2025-02-07 18:15:33 UTC

Install update 10.0.17763.6893

2025-02-13 00:33:37 UTC

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

2025-02-13 00:33:38 UTC

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

2025-02-13 00:33:39 UTC

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

2025-02-13 00:33:39 UTC

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

2025-02-13 00:34:45 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.';

2025-02-13 00:34:48 UTC

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

2025-02-13 00:34:50 UTC

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

2025-02-13 00:34:53 UTC

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