Namespace
library
Image / Tag
mongo:4.2.23-rc0-windowsservercore-ltsc2022
Content Digest
sha256:d2b1e0fcdecf9b1d6bbd0ee9db93cea363959e19bf428b3a2ea9db4c66837459
Details
Created

2022-09-14 18:38:40 UTC

Size

2.45 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

d6eb1f72a67c1b41dd40ef65945f644033cf5ced21b9e730d026cd6716766207

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.23-rc0-signed.msi

MONGO_VERSION

4.2.23-rc0


Layers

[#000] sha256:97f65a0ec59e643faf84024aa713a9be059322380315fda829756bbbd96d6258 - 54.56% (1.34 GB)

[#001] sha256:4486102fd3820ed9527fa3e7bfefa8305c2f054e65b46dffe9675755e3d8f288 - 34.56% (868 MB)

[#002] sha256:a16438b2cffe7980c606769d49003f7f1c4d27549445f824511a81834513616a - 0.0% (1.39 KB)

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

[#004] sha256:0bf3b48f0db0fe1b526c8bf8402728c4c4215f96ecf43aaa537b9a44dafc8352 - 0.0% (1.29 KB)

[#005] sha256:53691f8d01d6fdd38fcd4455c253d54f4caba71898691380b71d8f1ea09a67fa - 0.0% (1.29 KB)

[#006] sha256:0770acaa1c9e2cbb7924593d524d3540453601ba11a52eb14d0903ab63e9a185 - 10.88% (273 MB)

[#007] sha256:0a15d096909580e88a389a5392124925cc39107ccd27ceb801fc9b3012ceee24 - 0.0% (1.38 KB)

[#008] sha256:e3ba8e74400ec96b70077827c3c169d1860d5b7f6d72f7e87ebd7d83c7296580 - 0.0% (1.38 KB)

[#009] sha256:f9d3270b4aa7de4c58254a238d84b6ec06185eb71679c3c85cf85c2389e589df - 0.0% (1.38 KB)


History
2022-04-22 01:12:09 UTC

Apply image 10.0.20348.643

2022-09-08 20:30:55 UTC

Install update 10.0.20348.1006

2022-09-14 13:31:04 UTC

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

2022-09-14 18:37:01 UTC

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

2022-09-14 18:37:02 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.23-rc0-signed.msi

2022-09-14 18:37:03 UTC

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

2022-09-14 18:38:37 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,ImportExportTools,MiscellaneousTools,MonitoringTools,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.';

2022-09-14 18:38:38 UTC

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

2022-09-14 18:38:39 UTC

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

2022-09-14 18:38:40 UTC

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