Namespace
library
Image / Tag
mongo:5.0.20-rc1-windowsservercore-ltsc2022
Content Digest
sha256:ae807763e1649c875c6d2d0d6e06b7b9457f10677d121b0fb9302fad4d150852
Details
Created

2023-08-10 01:33:15 UTC

Size

1.97 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

16c0e145c9795a195063119ca32e8ff6cb4c975a08212d3608fb73c2b0fed36b

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

5.0.20-rc1


Layers

[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 65.77% (1.29 GB)

[#001] sha256:22a441455ace20af58f01367d769afc2b25c3db3e4a7aee67a634d14826f6f19 - 19.36% (390 MB)

[#002] sha256:85b1b41cab0d4b78c8daa50728be89bc3c25ded051cc1e654b316623692507f1 - 0.0% (1.37 KB)

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

[#004] sha256:6e856c95d078097e8b37e492b77e81b88f177409aa06c0fb6a8002a30e93b4ec - 0.0% (1.3 KB)

[#005] sha256:8d4ba3570f1c46d19cb9350d436857df82cfe7065da8433d573c26610249b2b5 - 0.0% (1.33 KB)

[#006] sha256:4ef2ef4065586d0b48254dbfe8874fc76e1eafeaa671c38daa66dc6c4124f859 - 14.86% (299 MB)

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

[#008] sha256:8cb04f3e6fbb94abaace00036c267d1c72dbf229981fe8fa90d1d442c2044e86 - 0.0% (1.3 KB)

[#009] sha256:e7f6ba4a050f218597440aa3b3897973916d948b3fdcc5ee449334e99e24dba7 - 0.0% (1.26 KB)


History
2023-06-08 12:55:20 UTC

Apply image 10.0.20348.1787

2023-08-03 10:01:10 UTC

Install update 10.0.20348.1906

2023-08-10 01:08:38 UTC

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

2023-08-10 01:31:49 UTC

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

2023-08-10 01:31:50 UTC

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

2023-08-10 01:31:51 UTC

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

2023-08-10 01:33:11 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.';

2023-08-10 01:33:13 UTC

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

2023-08-10 01:33:14 UTC

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

2023-08-10 01:33:15 UTC

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