Namespace
library
Image / Tag
mongo:5.0.25-windowsservercore-1809
Content Digest
sha256:6540acbfdb487de4ec06f0025053dd53afb20a8d50f273d17ad6609751863d64
Details
Created

2024-03-13 00:10:13 UTC

Size

2.27 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

65f3fde2ddadbf61dc5895d54670bbbd6febf8b4f7c3a081d1012038452011b2

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.25


Layers

[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 67.61% (1.54 GB)

[#001] sha256:a22a88a4a0d197cb745939f382a7898094af0a089fce3173f283651a01da996b - 19.44% (452 MB)

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

[#003] sha256:4288ceb7e3fbfc4e861bd0a9f0ae1222776b4f8599db8f9fbbd99801fc5c0bcd - 0.0% (1.27 KB)

[#004] sha256:a7a2422b308286a056b7378f7b61f37ef3b32547e477b6cd94d6fc68a6f81d01 - 0.0% (1.27 KB)

[#005] sha256:086a1cf14deaca8aadde8ac2ecf839b193263ee83c64d631602f3900625eba42 - 0.0% (1.26 KB)

[#006] sha256:4bbcba0b954bcae2adb3574e123d7dff6cbdab5739c3e5ecb7fa3ec5e124d611 - 12.95% (302 MB)

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

[#008] sha256:06ecb87817b0d7970650df4f298899cd92b1919d7e3e52fde4dcd5995d00a52b - 0.0% (1.27 KB)

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


History
2023-06-08 12:58:24 UTC

Apply image 10.0.17763.4499

2024-03-04 01:18:21 UTC

Install update 10.0.17763.5576

2024-03-13 00:08:36 UTC

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

2024-03-13 00:08:37 UTC

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

2024-03-13 00:08:37 UTC

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

2024-03-13 00:08:38 UTC

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

2024-03-13 00:10:09 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-03-13 00:10:10 UTC

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

2024-03-13 00:10:12 UTC

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

2024-03-13 00:10:13 UTC

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